1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

reset thread timer on new filter

This commit is contained in:
marktaiwan 2015-02-18 14:04:09 +08:00 committed by czaks
parent 709a248d10
commit c8eaebce9a

View File

@ -23,8 +23,8 @@ if (active_page === 'thread' || active_page === 'index') {
list.nextPurge[boardId] = {};
if (typeof list.postFilter[boardId][threadId] == 'undefined') {
list.postFilter[boardId][threadId] = [];
list.nextPurge[boardId][threadId] = {timestamp: timestamp(), interval: 86400}; // 86400 seconds == 1 day
}
list.nextPurge[boardId][threadId] = {timestamp: timestamp(), interval: 86400}; // 86400 seconds == 1 day
}
var blacklist = {