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

@ -30,6 +30,6 @@
"commit": "14d2ca3df97da64c820829a8310f9198fbafbcfa" "commit": "14d2ca3df97da64c820829a8310f9198fbafbcfa"
}, },
"_source": "git://github.com/desandro/eventie.git", "_source": "git://github.com/desandro/eventie.git",
"_target": "^1", "_target": "~1.0.3",
"_originalSource": "eventie" "_originalSource": "eventie"
} }

View file

@ -25,14 +25,14 @@
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0",
"iron-component-page": "polymerelements/iron-component-page#^1.0.0" "iron-component-page": "polymerelements/iron-component-page#^1.0.0"
}, },
"homepage": "https://github.com/PolymerElements/iron-flex-layout", "homepage": "https://github.com/polymerelements/iron-flex-layout",
"_release": "1.0.4", "_release": "1.0.4",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "v1.0.4", "tag": "v1.0.4",
"commit": "dcfc54b0d358269bf0c72180b4ab090fc4931ecd" "commit": "dcfc54b0d358269bf0c72180b4ab090fc4931ecd"
}, },
"_source": "git://github.com/PolymerElements/iron-flex-layout.git", "_source": "git://github.com/polymerelements/iron-flex-layout.git",
"_target": "^1.0.0", "_target": "^1.0.0",
"_originalSource": "PolymerElements/iron-flex-layout" "_originalSource": "polymerelements/iron-flex-layout"
} }

View file

@ -50,7 +50,7 @@
"tag": "v1.0.15", "tag": "v1.0.15",
"commit": "34d19454e0ea13b1a809add8c87fba128fbc9940" "commit": "34d19454e0ea13b1a809add8c87fba128fbc9940"
}, },
"_source": "git://github.com/polymerelements/paper-input.git", "_source": "git://github.com/PolymerElements/paper-input.git",
"_target": "^1.0.9", "_target": "^1.0.0",
"_originalSource": "polymerelements/paper-input" "_originalSource": "PolymerElements/paper-input"
} }

7
dashboard-ui/css/ie.css Normal file
View file

@ -0,0 +1,7 @@
paper-icon-button {
height: 24px;
}
paper-fab.keyboard-focus.paper-fab-0 {
background: #444;
}

View file

@ -1955,18 +1955,21 @@ var AppInfo = {};
function onDocumentReady() { function onDocumentReady() {
if ($.browser.msie) {
Dashboard.importCss('css/ie.css');
}
// Do these now to prevent a flash of content // Do these now to prevent a flash of content
if (AppInfo.isNativeApp) { if (AppInfo.isNativeApp) {
if ($.browser.android) { if ($.browser.android) {
Dashboard.importCss('themes/android.css'); Dashboard.importCss('themes/android.css');
} } else if ($.browser.safari) {
else if ($.browser.safari) {
Dashboard.importCss('themes/ios.css'); Dashboard.importCss('themes/ios.css');
} }
} else {
loadTheme();
} }
loadTheme();
if ($.browser.safari && $.browser.mobile) { if ($.browser.safari && $.browser.mobile) {
initFastClick(); initFastClick();
} }