fix the jumping beans effect

Pages will jump if image size isn't explicitly declared.
This commit is contained in:
wzeth authored and GitHub committed 2016-11-02 09:01:38 -04:00
1 parent 4be03b0b96
commit d64be9150d
1 file changed
+2
+2
View File
@@ -7,6 +7,8 @@ function nntpchan_inject_banners(elem, prefix) {
var e = document.createElement("img"); var e = document.createElement("img");
e.src = banner; e.src = banner;
e.id = "nntpchan_banner"; e.id = "nntpchan_banner";
e.height = "150";
e.width = "300";
elem.appendChild(e); elem.appendChild(e);
} }