summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-12-29 23:29:52 +0100
committerczaks <marcin@6irc.net>2013-12-29 23:29:52 +0100
commit9c00985423a34434acc26ed18864753ed67ec293 (patch)
tree1dfd563326638696e92daf71c5007b201146a500
parent12b4bf028c6310a6160f685d6d6bcffb7561ec70 (diff)
watch.js: fix a bug in previous commit
-rw-r--r--js/watch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/watch.js b/js/watch.js
index 4fbd5591..2d421349 100644
--- a/js/watch.js
+++ b/js/watch.js
@@ -320,7 +320,7 @@ $(function(){
if (!status) return;
var refresh = false;
for(var bid in status) {
- if ((status[bid].new_threads && (active_page == "ukko" || active_page == "index")) || status[bid].new_threads == 1
+ if (((status[bid].new_threads && (active_page == "ukko" || active_page == "index")) || status[bid].new_threads == 1)
&& check_post(this, $('[data-board="'+bid+'"]#thread_'+status[bid].last_thread))) {
var st = storage()
st[bid].watched = time_loaded;