Skip to content

Node.js based forum software built for the modern web

closes #5041

barisusakliaad1e54c37d0
diff --git a/public/src/client/categoryTools.js b/public/src/client/categoryTools.js
index 970ab29d4a..8344ddf355 100644
--- a/public/src/client/categoryTools.js
+++ b/public/src/client/categoryTools.js
@@ -68,7 +68,9 @@ define('forum/categoryTools', ['forum/topic/move', 'topicSelect', 'components',
return app.alertError(err.message);
}
app.alertSuccess('[[topic:markAsUnreadForAll.success]]');
-
+ tids.forEach(function(tid) {
+ $('[component="category/topic"][data-tid="' + tid + '"]').addClass('unread');
+ });
onCommandComplete();
});
}