diff options
Diffstat (limited to 'static')
-rw-r--r-- | static/js/shobon.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/static/js/shobon.js b/static/js/shobon.js index 4b56aae..b9e265c 100644 --- a/static/js/shobon.js +++ b/static/js/shobon.js @@ -5,9 +5,6 @@ var hide_id = new Set(); var shobon_ver = "v0.4+"; function shobon() { - if(localStorage.getItem("shobon_on") == "false") return; - else console.log("Running shobon " + shobon_ver); - boardName = document.getElementsByName("board")[0].value; var inThread = document.getElementsByTagName("body")[0].className == "threadpage"; var newRepliesCounter = 0; @@ -23,6 +20,9 @@ function shobon() { box.appendChild(slnk); } + if(localStorage.getItem("shobon_on") == "false") return; + else console.log("Running shobon " + shobon_ver); + if (localStorage.getItem("shobon_usefilters") != "false") { loadFilters(); } |