mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-30 18:24:29 +01:00
Bugfix: convert it to string
This commit is contained in:
parent
513c8f7b68
commit
a9b29c7232
@ -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…
Reference in New Issue
Block a user