1
0
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:
marktaiwan 2015-03-06 20:04:35 +08:00 committed by czaks
parent 513c8f7b68
commit a9b29c7232

View File

@ -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);
} }