Skip to content

Node.js based forum software built for the modern web

fix: prevent mutiple highlighted rows on category/topic pages

psychobunny60afb110efc3
diff --git a/public/src/modules/navigator.js b/public/src/modules/navigator.js
index d5834e0dd6..7655e4e6f4 100644
--- a/public/src/modules/navigator.js
+++ b/public/src/modules/navigator.js
@@ -431,6 +431,7 @@ define('navigator', ['forum/pagination', 'components'], function (pagination, co
function highlightPost() {
if (highlight) {
+ $('[component="post"],[component="category/topic"]').removeClass('highlight');
scrollTo.addClass('highlight');
setTimeout(function () {
scrollTo.removeClass('highlight');