mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
duh fixing my fail from last night
This commit is contained in:
@@ -152,7 +152,7 @@ define('navigator', ['forum/pagination'], function(pagination) {
|
||||
}
|
||||
|
||||
navigator.scrollToPost = function(postIndex, highlight, duration, offset) {
|
||||
if (!utils.isNumber(postIndex) || !$('.post-container').length) {
|
||||
if (!utils.isNumber(postIndex) || !$('#post-container').length) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user