mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Update src/scripts/site.js
Co-Authored-By: vitorsemeano <vitorsemeano@gmail.com>
This commit is contained in:
parent
6a15acb310
commit
ff07a77133
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user