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

3.0.5641.4

This commit is contained in:
Luke Pulverenti 2015-06-15 00:17:12 -04:00
parent 3b403bc22d
commit 46776f1eac
9 changed files with 122 additions and 282 deletions

View file

@ -1643,7 +1643,7 @@ var AppInfo = {};
AppInfo.enableUserImage = true;
AppInfo.hasPhysicalVolumeButtons = isCordova || isMobile;
AppInfo.enableBackButton = (isIOS && window.navigator.standalone) || (isCordova && isIOS);
AppInfo.enableBackButton = isIOS && window.navigator.standalone && !AppInfo.isNativeApp;
AppInfo.supportsFullScreen = isCordova && isAndroid;
AppInfo.supportsSyncPathSetting = isCordova && isAndroid;
@ -1725,6 +1725,10 @@ var AppInfo = {};
function onDocumentReady() {
if (AppInfo.enableBottomTabs) {
$(document.body).addClass('bottomSecondaryNav');
}
if (AppInfo.isTouchPreferred) {
$(document.body).addClass('touch');
}
@ -1765,10 +1769,6 @@ var AppInfo = {};
$(document.body).addClass('movieTrailersTabDisabled');
}
if (AppInfo.enableBottomTabs) {
$(document.body).addClass('bottomSecondaryNav');
}
if (!AppInfo.enableSupporterMembership) {
$(document.body).addClass('supporterMembershipDisabled');
}
@ -2008,11 +2008,7 @@ var AppInfo = {};
function initCordovaWithDeviceId(deferred, deviceId) {
if ($.browser.android) {
requirejs(['thirdparty/cordova/android/imagestore.js']);
} else {
requirejs(['thirdparty/cordova/imagestore.js']);
}
requirejs(['thirdparty/cordova/imagestore.js']);
var capablities = Dashboard.capabilities();