Browse Source

Added missing curly brackets in post-filter.js

pull/40/head
Mark Taiwan 9 years ago
committed by czaks
parent
commit
c2e3ff162f
  1. 3
      js/post-filter.js

3
js/post-filter.js

@ -19,9 +19,10 @@ if (active_page === 'thread' || active_page === 'index' || active_page === 'cata
} }
function initList(list, boardId, threadId) { function initList(list, boardId, threadId) {
if (typeof list.postFilter[boardId] == 'undefined') if (typeof list.postFilter[boardId] == 'undefined') {
list.postFilter[boardId] = {}; list.postFilter[boardId] = {};
list.nextPurge[boardId] = {}; list.nextPurge[boardId] = {};
}
if (typeof list.postFilter[boardId][threadId] == 'undefined') { if (typeof list.postFilter[boardId][threadId] == 'undefined') {
list.postFilter[boardId][threadId] = []; list.postFilter[boardId][threadId] = [];
} }

Loading…
Cancel
Save