Archived
1
0

revert banner injection

This commit is contained in:
Jeff Becker 2016-01-20 11:49:38 -05:00
parent bc5b22f7a1
commit 3274536134
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -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");