mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update javascript connection manager to latest feature set
This commit is contained in:
parent
12e5298463
commit
f7bb1a627d
11 changed files with 494 additions and 217 deletions
7
dashboard-ui/thirdparty/apiclient/network.js
vendored
7
dashboard-ui/thirdparty/apiclient/network.js
vendored
|
@ -4,7 +4,7 @@
|
|||
|
||||
var self = this;
|
||||
|
||||
self.isOnline = function () {
|
||||
self.isNetworkAvailable = function () {
|
||||
|
||||
var online = navigator.onLine;
|
||||
|
||||
|
@ -14,6 +14,11 @@
|
|||
|
||||
return online;
|
||||
};
|
||||
|
||||
self.isAnyLocalNetworkAvailable = function () {
|
||||
|
||||
return self.isNetworkAvailable();
|
||||
};
|
||||
}
|
||||
|
||||
globalScope.NetworkStatus = new networkStatus();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue