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

continue jquery removal

This commit is contained in:
Luke Pulverenti 2016-06-14 16:59:30 -04:00
parent c5fa5d10b5
commit c4c34ba314
5 changed files with 117 additions and 29 deletions

View file

@ -3242,9 +3242,20 @@ var AppInfo = {};
}
require(postInitDependencies);
upgradeLayouts();
});
}
function upgradeLayouts() {
if (!AppInfo.enableAppLayouts && browserInfo.mobile) {
Dashboard.getPluginSecurityInfo().then(function (info) {
if (info.IsMBSupporter) {
AppInfo.enableAppLayouts = true;
}
});
}
}
initRequire();
function onWebComponentsReady() {