From 60afb110efc39ee593c1b540ade87d5b6583be67 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Sat, 3 Oct 2020 17:12:42 -0400 Subject: [PATCH] fix: prevent mutiple highlighted rows on category/topic pages --- public/src/modules/navigator.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/src/modules/navigator.js b/public/src/modules/navigator.js index d5834e0dd650..7655e4e6f423 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');