mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: prevent mutiple highlighted rows on category/topic pages
This commit is contained in:
@@ -431,6 +431,7 @@ define('navigator', ['forum/pagination', 'components'], function (pagination, co
|
|||||||
|
|
||||||
function highlightPost() {
|
function highlightPost() {
|
||||||
if (highlight) {
|
if (highlight) {
|
||||||
|
$('[component="post"],[component="category/topic"]').removeClass('highlight');
|
||||||
scrollTo.addClass('highlight');
|
scrollTo.addClass('highlight');
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
scrollTo.removeClass('highlight');
|
scrollTo.removeClass('highlight');
|
||||||
|
|||||||
Reference in New Issue
Block a user