Merge pull request #415 from marktaiwan/post-filter

Bugfix: forgot to convert post ID to string when adding from catalog
This commit is contained in:
Fredrick Brennan 2015-03-08 12:47:01 +08:00
commit 108e30978c

View File

@ -811,7 +811,7 @@ if (active_page === 'thread' || active_page === 'index' || active_page === 'cata
if (active_page == 'catalog') {
$(document).on('click', '.mix', function(e) {
if (e.shiftKey) {
var threadId = $(this).data('id');
var threadId = $(this).data('id').toString();
var postId = threadId;
blacklist.add.post(pageData.boardId, threadId, postId, false);
}