浏览代码

Added missing curly brackets in post-filter.js

pull/47/head^2
Mark Taiwan czaks 8 年前
父节点
当前提交
c2e3ff162f
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      js/post-filter.js

+ 2
- 1
js/post-filter.js 查看文件

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


正在加载...
取消
保存