Browse Source

Added missing curly brackets in post-filter.js

pull/47/head^2
Mark Taiwan czaks 8 years ago
parent
commit
c2e3ff162f
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      js/post-filter.js

+ 2
- 1
js/post-filter.js View File

@@ -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] = [];
}


Loading…
Cancel
Save