Fixed scrolling to top when endless scroll enabled

This commit is contained in:
Marcin Kurczewski
2014-10-25 10:03:32 +02:00
parent 60f4dd9d4a
commit 54f07f5a90
5 changed files with 1 additions and 4 deletions

View File

@ -94,6 +94,7 @@ App.Presenters.PagerPresenter = function(
if (forceClear || !endlessScroll) {
clearContent();
window.scrollTo(0, 0);
}
var $page = jQuery('<div class="page">');
if (endlessScroll && pager.getTotalPages() > 1) {