mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
merge with updates from upstream
This commit is contained in:
commit
bf408ae9aa
5 changed files with 48 additions and 43 deletions
|
@ -231,17 +231,7 @@ var AppInfo = {};
|
|||
!function () {
|
||||
"use strict";
|
||||
|
||||
function initializeApiClient(apiClient) {
|
||||
if (!("cordova" !== self.appMode && "android" !== self.appMode)) {
|
||||
apiClient.getAvailablePlugins = function () {
|
||||
return Promise.resolve([]);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
function onApiClientCreated(e__e, newApiClient) {
|
||||
initializeApiClient(newApiClient);
|
||||
|
||||
function onApiClientCreated(e, newApiClient) {
|
||||
if (window.$) {
|
||||
$.ajax = newApiClient.ajax;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue