mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
use normal method for getAvailablePlugins
This commit is contained in:
parent
3f7ca1d915
commit
32a8e89420
1 changed files with 1 additions and 7 deletions
|
@ -150,14 +150,8 @@ var Dashboard = {
|
|||
! function() {
|
||||
"use strict";
|
||||
|
||||
function initializeApiClient(apiClient) {
|
||||
"cordova" !== self.appMode && "android" !== self.appMode || (apiClient.getAvailablePlugins = function() {
|
||||
return Promise.resolve([])
|
||||
})
|
||||
}
|
||||
|
||||
function onApiClientCreated(e, newApiClient) {
|
||||
initializeApiClient(newApiClient), window.$ && ($.ajax = newApiClient.ajax)
|
||||
window.$ && ($.ajax = newApiClient.ajax)
|
||||
}
|
||||
|
||||
function defineConnectionManager(connectionManager) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue