1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update components

This commit is contained in:
Luke Pulverenti 2015-06-19 00:23:55 -04:00
parent 615cc844ae
commit b9598ffaa1
88 changed files with 366 additions and 501 deletions

View file

@ -50,7 +50,7 @@ var Dashboard = {
$.event.special.swipe.verticalDistanceThreshold = 40;
$.mobile.loader.prototype.options.disabled = true;
$.mobile.page.prototype.options.domCache = true;
//$.mobile.page.prototype.options.domCache = true;
$.mobile.loadingMessage = false;
$.mobile.loader.prototype.options.html = "";
@ -1735,6 +1735,10 @@ var AppInfo = {};
window.ConnectionManager = new MediaBrowser.ConnectionManager(Logger, credentialProvider, AppInfo.appName, AppInfo.appVersion, AppInfo.deviceName, AppInfo.deviceId, capabilities);
if (getWindowUrl().toLowerCase().indexOf('wizardstart.html') != -1) {
window.ConnectionManager.clearData();
}
$(ConnectionManager).on('apiclientcreated', function (e, newApiClient) {
initializeApiClient(newApiClient);
@ -1795,6 +1799,8 @@ var AppInfo = {};
if (AppInfo.isTouchPreferred) {
elem.addClass('touch');
} else {
elem.addClass('pointerInput');
}
if (AppInfo.cardMargin) {
@ -1829,8 +1835,13 @@ var AppInfo = {};
function onDocumentReady() {
// Do these now to prevent a flash of content
if (AppInfo.isNativeApp && $.browser.safari) {
Dashboard.importCss('themes/ios.css');
if (AppInfo.isNativeApp) {
if ($.browser.android) {
Dashboard.importCss('themes/android.css');
}
else if ($.browser.safari) {
Dashboard.importCss('themes/ios.css');
}
}
if ($.browser.safari && $.browser.mobile) {
@ -2038,6 +2049,7 @@ var AppInfo = {};
Dashboard.importCss('thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.icons.css');
return {};
});
define("actionsheet", ["scripts/actionsheet"]);
//requirejs(['http://viblast.com/player/free-version/qy2fdwajo1/viblast.js']);