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
12
dashboard-ui/thirdparty/apiclient/device.js
vendored
12
dashboard-ui/thirdparty/apiclient/device.js
vendored
|
@ -1,10 +1,10 @@
|
|||
if (!window.MediaBrowser) {
|
||||
window.MediaBrowser = {};
|
||||
}
|
||||
(function (globalScope, store) {
|
||||
|
||||
(function (store) {
|
||||
if (!globalScope.MediaBrowser) {
|
||||
globalScope.MediaBrowser = {};
|
||||
}
|
||||
|
||||
MediaBrowser.generateDeviceId = function () {
|
||||
globalScope.MediaBrowser.generateDeviceId = function () {
|
||||
|
||||
var keys = [];
|
||||
|
||||
|
@ -27,4 +27,4 @@
|
|||
return sha1(keys.join('|'));
|
||||
};
|
||||
|
||||
})(store);
|
||||
})(window, store);
|
Loading…
Add table
Add a link
Reference in a new issue