revert banner injection
This commit is contained in:
parent
bc5b22f7a1
commit
3274536134
@ -18,7 +18,7 @@ var banner_count = 3;
|
||||
// inject a banner into an element
|
||||
function nntpchan_inject_banners(elem, prefix) {
|
||||
var n = Math.floor(Math.random() * banner_count);
|
||||
var banner = prefix + "static/banners/banner_"+n+".jpg";
|
||||
var banner = prefix + "static/banner_"+n+".jpg";
|
||||
var e = document.createElement("img");
|
||||
e.src = banner;
|
||||
e.setAttribute("class", "nntpchan_banner");
|
||||
|
Reference in New Issue
Block a user