1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix scroll after paging

This commit is contained in:
Luke Pulverenti 2016-04-29 23:59:59 -04:00
parent fb8834aa7f
commit f0708399bb
2 changed files with 6 additions and 0 deletions

View file

@ -56,6 +56,9 @@
ApiClient.getItems(Dashboard.getCurrentUserId(), query).then(function (result) {
// Scroll back up so they can see the results from the beginning
window.scrollTo(0, 0);
var pagingHtml = LibraryBrowser.getQueryPagingHtml({
startIndex: query.StartIndex,
limit: query.Limit,