From fd2e9df30cfd14b6c03d109c02e48ec966101aa1 Mon Sep 17 00:00:00 2001 From: 8chan Date: Sat, 8 Nov 2014 16:58:02 -0800 Subject: [PATCH] This script was breaking boards.html --- js/thread-watcher.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/thread-watcher.js b/js/thread-watcher.js index 625e95e0..b66dc657 100644 --- a/js/thread-watcher.js +++ b/js/thread-watcher.js @@ -142,6 +142,10 @@ watchlist.exists = function(sel) { }; $(document).ready(function(){ + if (!(active_page == 'thread' || active_page == 'index')) { + return; + } + //Append the watchlist toggle button. $('.boardlist').append('[ watchlist ]'); //Append a watch thread button after every OP.