Merge pull request #142 from wzeth/patch-18
explicitly set height and width attrs to avoid jumping beans
This commit is contained in:
commit
9d18d59f45
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user