mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added IE fixes
This commit is contained in:
parent
a84c190561
commit
20cd64b785
5 changed files with 21 additions and 11 deletions
|
@ -1955,18 +1955,21 @@ var AppInfo = {};
|
|||
|
||||
function onDocumentReady() {
|
||||
|
||||
if ($.browser.msie) {
|
||||
Dashboard.importCss('css/ie.css');
|
||||
}
|
||||
|
||||
// Do these now to prevent a flash of content
|
||||
if (AppInfo.isNativeApp) {
|
||||
if ($.browser.android) {
|
||||
Dashboard.importCss('themes/android.css');
|
||||
}
|
||||
else if ($.browser.safari) {
|
||||
} else if ($.browser.safari) {
|
||||
Dashboard.importCss('themes/ios.css');
|
||||
}
|
||||
} else {
|
||||
loadTheme();
|
||||
}
|
||||
|
||||
loadTheme();
|
||||
|
||||
if ($.browser.safari && $.browser.mobile) {
|
||||
initFastClick();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue