1
0
Fork 0
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:
Luke Pulverenti 2015-10-13 23:24:19 -04:00
parent a84c190561
commit 20cd64b785
5 changed files with 21 additions and 11 deletions

View file

@ -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();
}