found a rogue topic class selector

This commit is contained in:
psychobunny
2015-03-24 12:55:49 -04:00
parent 29fd89407c
commit d39c2924e4

View File

@@ -223,9 +223,9 @@ define('navigator', ['forum/pagination'], function(pagination) {
function highlightPost() {
if (highlight) {
scrollTo.parent().find('.topic-item').addClass('highlight');
scrollTo.parents('[component="post"]').addClass('highlight');
setTimeout(function() {
scrollTo.parent().find('.topic-item').removeClass('highlight');
scrollTo.parents('[component="post"]').removeClass('highlight');
}, 3000);
}
}