better fix for #3040

This commit is contained in:
Julian Lam
2015-04-20 16:05:09 -04:00
parent bbccc38efd
commit 5a0ea28633
2 changed files with 5 additions and 5 deletions

View File

@@ -61,11 +61,11 @@ $(document).ready(function() {
});
});
if (!quiet) {
require(['search'], function(search) {
if (search.topicDOM.active && !url.startsWith('topic/')) {
search.topicDOM.end();
});
}
});
return true;
};

View File

@@ -191,7 +191,7 @@ define('navigator', ['forum/pagination', 'components'], function(pagination, com
} else {
navigator.scrollActive = false;
postIndex = parseInt(postIndex, 10) + 1;
ajaxify.go(generateUrl(postIndex), undefined, true);
ajaxify.go(generateUrl(postIndex));
}
};