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

fix image loading

This commit is contained in:
Luke Pulverenti 2015-06-16 00:52:01 -04:00
parent 46776f1eac
commit 0d59297b1b
86 changed files with 5857 additions and 273 deletions

View file

@ -197,7 +197,7 @@
}
}
$(document).on('pagebeforeshowready', ".page", function () {
$(document).on('pageshowready', ".page", function () {
var page = this;
@ -212,7 +212,10 @@
var parentId = $page.hasClass('globalBackdropPage') ? '' : LibraryMenu.getTopParentId();
showBackdrop(type, parentId);
// This is an artificial timeout, but we want to give priority to the regular data requests for the page
setTimeout(function () {
showBackdrop(type, parentId);
}, 100);
} else {
$page.removeClass('backdropPage');