duh fixing my fail from last night

This commit is contained in:
barisusakli
2014-10-31 17:44:06 -04:00
parent 1fe82ee452
commit 6353ed57a9

View File

@@ -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;
} }