Selaa lähdekoodia

Added missing curly brackets in post-filter.js

pull/47/head^2
Mark Taiwan czaks 8 vuotta sitten
vanhempi
commit
c2e3ff162f
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. +2
    -1
      js/post-filter.js

+ 2
- 1
js/post-filter.js Näytä tiedosto

@@ -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…
Peruuta
Tallenna