mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix ie hang on library setup
This commit is contained in:
parent
3d458f8076
commit
3d0d3247fd
13 changed files with 58 additions and 15 deletions
|
@ -1967,15 +1967,15 @@ var AppInfo = {};
|
|||
function onDocumentReady() {
|
||||
|
||||
if ($.browser.msie) {
|
||||
Dashboard.importCss('css/ie.css');
|
||||
require(['devices/ie/ie']);
|
||||
}
|
||||
|
||||
// Do these now to prevent a flash of content
|
||||
if (AppInfo.isNativeApp) {
|
||||
if ($.browser.android) {
|
||||
Dashboard.importCss('themes/android.css');
|
||||
Dashboard.importCss('devices/android.css');
|
||||
} else if ($.browser.safari) {
|
||||
Dashboard.importCss('themes/ios.css');
|
||||
Dashboard.importCss('devices/ios/ios.css');
|
||||
}
|
||||
} else {
|
||||
loadTheme();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue