From 9c00985423a34434acc26ed18864753ed67ec293 Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 29 Dec 2013 23:29:52 +0100 Subject: [PATCH] watch.js: fix a bug in previous commit --- js/watch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;