summaryrefslogtreecommitdiff
path: root/js/thread-watcher.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/thread-watcher.js')
-rw-r--r--js/thread-watcher.js4
1 files changed, 4 insertions, 0 deletions
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('<span>[ <a id="watchlist-toggle">watchlist</a> ]</span>');
//Append a watch thread button after every OP.