mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
4b6e0fa3cb
commit
e890cbfe17
2 changed files with 10 additions and 5 deletions
|
@ -510,7 +510,12 @@
|
|||
};
|
||||
|
||||
self.isWebSocketSupported = function () {
|
||||
return WebSocket != null;
|
||||
try {
|
||||
return WebSocket != null;
|
||||
}
|
||||
catch (err) {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
self.openWebSocket = function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue