Ensure tabID is unchanged; fix image styles

This commit is contained in:
Will Bamberg
2017-09-11 21:59:52 -07:00
parent a37ea20e24
commit 7d2ba28b0b
2 changed files with 14 additions and 15 deletions
+1 -2
View File
@@ -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);
}