Skip to content

Node.js based forum software built for the modern web

duh fixing my fail from last night

barisusakli6353ed57a9aa
diff --git a/public/src/modules/navigator.js b/public/src/modules/navigator.js
index cfccbb871d..b35a06c666 100644
--- a/public/src/modules/navigator.js
+++ b/public/src/modules/navigator.js
@@ -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;
}