diff options
| author | czaks <marcin@6irc.net> | 2013-12-29 22:32:07 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-12-29 22:32:07 +0100 |
| commit | 12b4bf028c6310a6160f685d6d6bcffb7561ec70 (patch) | |
| tree | 9bdc19a6713b8b92f46a218be981b5f53c32a464 | |
| parent | a626f4afd728cc2d73f407251007351de8617ea8 (diff) | |
watch.js: try refreshing threads a bit smarter
| -rw-r--r-- | js/watch.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
