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:
parent
fb8834aa7f
commit
f0708399bb
2 changed files with 6 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue