fix: prevent mutiple highlighted rows on category/topic pages

This commit is contained in:
psychobunny
2020-10-03 17:12:42 -04:00
parent 6ee0cad289
commit 60afb110ef

View File

@@ -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');