1
0
Fork 0
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:
vitorsemeano 2019-02-28 18:31:53 +00:00
commit bf408ae9aa
5 changed files with 48 additions and 43 deletions

View file

@ -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;
}