diff options
| author | Mark Taiwan <mark.taiwan@gmail.com> | 2015-09-13 16:10:32 +0800 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2016-05-05 13:22:59 +0200 |
| commit | c2e3ff162f7c94d27b85b5056e0acf72724edcd4 (patch) | |
| tree | 7b79e4c76e114c40cf4864a6e3e0c547e225ef54 | |
| parent | 7cf3fccda5546a7f134916fcec458af48af42373 (diff) | |
Added missing curly brackets in post-filter.js
| -rw-r--r-- | js/post-filter.js | 3 |
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] = []; } |
