Sfoglia il codice sorgente

Added missing curly brackets in post-filter.js

pull/47/head^2
Mark Taiwan czaks 8 anni fa
parent
commit
c2e3ff162f
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      js/post-filter.js

+ 2
- 1
js/post-filter.js Vedi 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…
Annulla
Salva