1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

Added missing curly brackets in post-filter.js

This commit is contained in:
Mark Taiwan 2015-09-13 16:10:32 +08:00
parent 0482c7918b
commit 22728aec2b

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