summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/post-filter.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/post-filter.js b/js/post-filter.js
index 023b54e4..950f43ab 100644
--- a/js/post-filter.js
+++ b/js/post-filter.js
@@ -19,9 +19,10 @@ if (active_page === 'thread' || active_page === 'index' || active_page === 'cata
}
function initList(list, boardId, threadId) {
- if (typeof list.postFilter[boardId] == 'undefined')
+ if (typeof list.postFilter[boardId] == 'undefined') {
list.postFilter[boardId] = {};
list.nextPurge[boardId] = {};
+ }
if (typeof list.postFilter[boardId][threadId] == 'undefined') {
list.postFilter[boardId][threadId] = [];
}