1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update components

This commit is contained in:
Luke Pulverenti 2017-01-11 01:20:44 -05:00
parent 51d44957c3
commit e9b1b4ad5f
9 changed files with 62 additions and 56 deletions

View file

@ -28,10 +28,7 @@ define(['connectionManager', 'events'], function (connectionManager, events) {
events.on(apiClient, "websocketmessage", onWebSocketMessageReceived);
}
var current = connectionManager.currentApiClient();
if (current) {
bindEvents(current);
}
connectionManager.getApiClients().forEach(bindEvents);
events.on(connectionManager, 'apiclientcreated', function (e, newApiClient) {