Skip to content

Node.js based forum software built for the modern web

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

psychobunny703ac1b68548
diff --git a/public/src/client/topic/threadTools.js b/public/src/client/topic/threadTools.js
index 8f35489b35..32a910f442 100644
--- a/public/src/client/topic/threadTools.js
+++ b/public/src/client/topic/threadTools.js
@@ -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;
};