Archived
1
0

fix the jumping beans effect

Pages will jump if image size isn't explicitly declared.
This commit is contained in:
wzeth 2016-11-02 09:01:38 -04:00 committed by GitHub
parent 4be03b0b96
commit d64be9150d

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);
} }