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

update connect scripts

This commit is contained in:
Luke Pulverenti 2014-10-27 17:45:50 -04:00
parent b96c70cb0a
commit 8cf3aba7e0
6 changed files with 170 additions and 59 deletions

View file

@ -772,12 +772,7 @@ var Dashboard = {
ensureWebSocket: function () {
if (!("WebSocket" in window)) {
// Not supported by the browser
return;
}
if (ApiClient.isWebSocketOpenOrConnecting()) {
if (ApiClient.isWebSocketOpenOrConnecting() || !ApiClient.isWebSocketSupported()) {
return;
}