duh fixing my fail from last night

v1.18.x
barisusakli 11 years ago
parent 1fe82ee452
commit 6353ed57a9

@ -152,7 +152,7 @@ define('navigator', ['forum/pagination'], function(pagination) {
} }
navigator.scrollToPost = function(postIndex, highlight, duration, offset) { navigator.scrollToPost = function(postIndex, highlight, duration, offset) {
if (!utils.isNumber(postIndex) || !$('.post-container').length) { if (!utils.isNumber(postIndex) || !$('#post-container').length) {
return; return;
} }

Loading…
Cancel
Save