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:
parent
c5fa5d10b5
commit
c4c34ba314
5 changed files with 117 additions and 29 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue