mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-29 09:44:28 +01:00
watch.js: fix a bug in previous commit
This commit is contained in:
parent
7f072aa5ef
commit
708745a3f2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user