mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Fixed scrolling to top when endless scroll enabled
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user