fix the jumping beans effect
Pages will jump if image size isn't explicitly declared.
This commit is contained in:
parent
4be03b0b96
commit
d64be9150d
@ -7,6 +7,8 @@ function nntpchan_inject_banners(elem, prefix) {
|
||||
var e = document.createElement("img");
|
||||
e.src = banner;
|
||||
e.id = "nntpchan_banner";
|
||||
e.height = "150";
|
||||
e.width = "300";
|
||||
elem.appendChild(e);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user