Skip to content

Commit

Permalink
fix: prevent mutiple highlighted rows on category/topic pages
Browse files Browse the repository at this point in the history
  • Loading branch information
psychobunny committed Oct 3, 2020
1 parent 6ee0cad commit 60afb11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/src/modules/navigator.js
Expand Up @@ -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');
Expand Down

0 comments on commit 60afb11

Please sign in to comment.