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') {
$(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);
}