From c2e3ff162f7c94d27b85b5056e0acf72724edcd4 Mon Sep 17 00:00:00 2001 From: Mark Taiwan Date: Sun, 13 Sep 2015 16:10:32 +0800 Subject: [PATCH] Added missing curly brackets in post-filter.js --- js/post-filter.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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] = []; }