fix: match api when modifying ajaxify.data.deleted (int, not bool)

v1.18.x
psychobunny 4 years ago
parent 9a7c3c689f
commit 703ac1b685

@ -229,7 +229,7 @@ define('forum/topic/threadTools', [
threadEl.find('[component="post"]:not(.deleted) [component="post/reply"], [component="post"]:not(.deleted) [component="post/quote"]').toggleClass('hidden', hideReply); threadEl.find('[component="post"]:not(.deleted) [component="post/reply"], [component="post"]:not(.deleted) [component="post/quote"]').toggleClass('hidden', hideReply);
threadEl.toggleClass('deleted', data.isDelete); threadEl.toggleClass('deleted', data.isDelete);
ajaxify.data.deleted = data.isDelete; ajaxify.data.deleted = data.isDelete ? 1 : 0;
}; };

Loading…
Cancel
Save