Update src/scripts/site.js

Co-Authored-By: vitorsemeano <vitorsemeano@gmail.com>
This commit is contained in:
Claus Vium 2019-03-04 20:44:27 +00:00 committed by GitHub
parent 6a15acb310
commit ff07a77133
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1239,7 +1239,7 @@ var AppInfo = {};
require(["bower_components/emby-webcomponents/thememediaplayer", "scripts/autobackdrops"]); require(["bower_components/emby-webcomponents/thememediaplayer", "scripts/autobackdrops"]);
if (!("cordova" !== self.appMode && "android" !== self.appMode)) { if ("cordova" === self.appMode || "android" === self.appMode) {
if (browser.android) { if (browser.android) {
require(["cordova/mediasession", "cordova/chromecast", "cordova/appshortcuts"]); require(["cordova/mediasession", "cordova/chromecast", "cordova/appshortcuts"]);
} else if (browser.safari) { } else if (browser.safari) {