Node.js based forum software built for the modern web
fix: moving topic to cid=-1 will remove it from list
Barış Soner Uşaklı90a151348e34
diff --git a/public/src/client/category/tools.js b/public/src/client/category/tools.jsindex 42160e6e6a..f298cbe85d 100644--- a/public/src/client/category/tools.js+++ b/public/src/client/category/tools.js@@ -285,7 +285,7 @@ define('forum/category/tools', [}async function onTopicMoved(data) {- if (ajaxify.data.template.category) {+ if (ajaxify.data.template.category || String(data.toCid) === '-1') {getTopicEl(data.tid).remove();} else {const category = await api.get(`/categories/${data.toCid}`);