mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update startup
This commit is contained in:
parent
321c73557d
commit
4983a0b749
1 changed files with 4 additions and 1 deletions
|
@ -3045,6 +3045,7 @@ var AppInfo = {};
|
||||||
|
|
||||||
deps.push('imageLoader');
|
deps.push('imageLoader');
|
||||||
deps.push('router');
|
deps.push('router');
|
||||||
|
deps.push('layoutManager');
|
||||||
|
|
||||||
if (!(AppInfo.isNativeApp && browserInfo.android)) {
|
if (!(AppInfo.isNativeApp && browserInfo.android)) {
|
||||||
document.documentElement.classList.add('minimumSizeTabs');
|
document.documentElement.classList.add('minimumSizeTabs');
|
||||||
|
@ -3088,13 +3089,15 @@ var AppInfo = {};
|
||||||
|
|
||||||
deps.push('css!css/card.css');
|
deps.push('css!css/card.css');
|
||||||
|
|
||||||
require(deps, function (imageLoader, pageObjects) {
|
require(deps, function (imageLoader, pageObjects, layoutManager) {
|
||||||
|
|
||||||
console.log('Loaded dependencies in onAppReady');
|
console.log('Loaded dependencies in onAppReady');
|
||||||
|
|
||||||
imageLoader.enableFade = browserInfo.animate && !browserInfo.mobile;
|
imageLoader.enableFade = browserInfo.animate && !browserInfo.mobile;
|
||||||
window.ImageLoader = imageLoader;
|
window.ImageLoader = imageLoader;
|
||||||
|
|
||||||
|
layoutManager.init();
|
||||||
|
|
||||||
//$.mobile.initializePage();
|
//$.mobile.initializePage();
|
||||||
window.Emby = {};
|
window.Emby = {};
|
||||||
window.Emby.Page = pageObjects;
|
window.Emby.Page = pageObjects;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue