mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-28 03:47:00 +02:00
Ensure tabID is unchanged; fix image styles
This commit is contained in:
@@ -35,8 +35,7 @@
|
||||
function insertBeast(beastURL) {
|
||||
var beastImage = document.createElement("img");
|
||||
beastImage.setAttribute("src", beastURL);
|
||||
beastImage.setAttribute("style", "width: 100vw");
|
||||
beastImage.setAttribute("style", "height: 100vh");
|
||||
beastImage.style.height = "100vh";
|
||||
document.body.appendChild(beastImage);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user