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:
parent
b96c70cb0a
commit
8cf3aba7e0
6 changed files with 170 additions and 59 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue