Skip to content

Commit

Permalink
fix: match api when modifying ajaxify.data.deleted (int, not bool)
Browse files Browse the repository at this point in the history
  • Loading branch information
psychobunny committed Sep 22, 2020
1 parent 9a7c3c6 commit 703ac1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/src/client/topic/threadTools.js
Expand Up @@ -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.toggleClass('deleted', data.isDelete);
ajaxify.data.deleted = data.isDelete;
ajaxify.data.deleted = data.isDelete ? 1 : 0;
};


Expand Down

0 comments on commit 703ac1b

Please sign in to comment.