From 12b4bf028c6310a6160f685d6d6bcffb7561ec70 Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 29 Dec 2013 22:32:07 +0100 Subject: [PATCH] watch.js: try refreshing threads a bit smarter --- js/watch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/watch.js b/js/watch.js index dea8b6cd..4fbd5591 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") + 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;