mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Fixed pager showing "1" before loading collection
This commit is contained in:
@ -154,6 +154,9 @@ App.Presenters.PagedCollectionPresenter = function(
|
||||
}
|
||||
|
||||
function refreshPageList() {
|
||||
if (typeof(totalPages) === 'undefined') {
|
||||
return;
|
||||
}
|
||||
var pages = getVisiblePages();
|
||||
$pageList.empty();
|
||||
var lastPage = 0;
|
||||
|
Reference in New Issue
Block a user