forked from GithubBackups/vichan
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:
commit
108e30978c
@ -811,7 +811,7 @@ if (active_page === 'thread' || active_page === 'index' || active_page === 'cata
|
|||||||
if (active_page == 'catalog') {
|
if (active_page == 'catalog') {
|
||||||
$(document).on('click', '.mix', function(e) {
|
$(document).on('click', '.mix', function(e) {
|
||||||
if (e.shiftKey) {
|
if (e.shiftKey) {
|
||||||
var threadId = $(this).data('id');
|
var threadId = $(this).data('id').toString();
|
||||||
var postId = threadId;
|
var postId = threadId;
|
||||||
blacklist.add.post(pageData.boardId, threadId, postId, false);
|
blacklist.add.post(pageData.boardId, threadId, postId, false);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user