From 0199230489a5b234dfc5f200dbefd5eb4910a279 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Wed, 20 Jan 2016 11:48:08 -0500 Subject: [PATCH] fix banner inject function --- contrib/static/nntpchan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 29b8a4f..f37bf6a 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -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/banner_"+n+".jpg"; + var banner = prefix + "static/banners/banner_"+n+".jpg"; var e = document.createElement("img"); e.src = banner; e.setAttribute("class", "nntpchan_banner");