mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
removed require for cordova appshortcuts
This commit is contained in:
parent
164bba2faf
commit
8b6b9974c7
1 changed files with 3 additions and 3 deletions
|
@ -512,8 +512,8 @@ var AppInfo = {};
|
||||||
define("filerepository", [apiClientBowerPath + "/sync/filerepository"], returnFirstDependency);
|
define("filerepository", [apiClientBowerPath + "/sync/filerepository"], returnFirstDependency);
|
||||||
}
|
}
|
||||||
|
|
||||||
define("localsync", [apiClientBowerPath + "/sync/localsync"], returnFirstDependency);
|
define("localsync", [apiClientBowerPath + "/sync/localsync"], returnFirstDependency);
|
||||||
}
|
}
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
define("livetvcss", ["css!css/livetv.css"], returnFirstDependency);
|
define("livetvcss", ["css!css/livetv.css"], returnFirstDependency);
|
||||||
|
@ -1180,7 +1180,7 @@ var AppInfo = {};
|
||||||
|
|
||||||
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"]);
|
||||||
} else if (browser.safari) {
|
} else if (browser.safari) {
|
||||||
require(["cordova/mediasession", "cordova/volume", "cordova/statusbar", "cordova/backgroundfetch"]);
|
require(["cordova/mediasession", "cordova/volume", "cordova/statusbar", "cordova/backgroundfetch"]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue