updated core to point #post_container and .post-row to its respective components

This commit is contained in:
psychobunny
2015-03-17 13:38:18 -04:00
parent 8fcdae7f17
commit 6439147586
7 changed files with 25 additions and 23 deletions

View File

@@ -153,7 +153,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) || !components.get('topic').length) {
return;
}
@@ -222,7 +222,7 @@ define('navigator', ['forum/pagination'], function(pagination) {
}
}
if ($('#post-container').length) {
if (components.get('topic').length) {
animateScroll();
}
}