mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
found a rogue topic class selector
This commit is contained in:
@@ -223,9 +223,9 @@ define('navigator', ['forum/pagination'], function(pagination) {
|
|||||||
|
|
||||||
function highlightPost() {
|
function highlightPost() {
|
||||||
if (highlight) {
|
if (highlight) {
|
||||||
scrollTo.parent().find('.topic-item').addClass('highlight');
|
scrollTo.parents('[component="post"]').addClass('highlight');
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
scrollTo.parent().find('.topic-item').removeClass('highlight');
|
scrollTo.parents('[component="post"]').removeClass('highlight');
|
||||||
}, 3000);
|
}, 3000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user