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] = {}; list.nextPurge[boardId] = {};
if (typeof list.postFilter[boardId][threadId] == 'undefined') { if (typeof list.postFilter[boardId][threadId] == 'undefined') {
list.postFilter[boardId][threadId] = []; 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 = { var blacklist = {