summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMark Taiwan <mark.taiwan@gmail.com>2015-09-13 16:10:32 +0800
committerczaks <marcin@6irc.net>2016-05-05 13:22:59 +0200
commitc2e3ff162f7c94d27b85b5056e0acf72724edcd4 (patch)
tree7b79e4c76e114c40cf4864a6e3e0c547e225ef54 /js
parent7cf3fccda5546a7f134916fcec458af48af42373 (diff)
Added missing curly brackets in post-filter.js
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] = [];
}