mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update to jquery mobile 1.4.3
This commit is contained in:
parent
db0a6eb632
commit
5bec78f61f
218 changed files with 116 additions and 89 deletions
|
@ -14,19 +14,19 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
|
|||
var randomId = '';
|
||||
|
||||
if (localStorage) {
|
||||
|
||||
|
||||
// Since the above is not guaranteed to be unique per device, add a little more
|
||||
randomId = localStorage.getItem('randomId');
|
||||
|
||||
|
||||
if (!randomId) {
|
||||
|
||||
randomId = new Date().getTime();
|
||||
localStorage.setItem('randomId', randomId);
|
||||
|
||||
localStorage.setItem('randomId', randomId.toString());
|
||||
}
|
||||
}
|
||||
|
||||
keys.push(randomId);
|
||||
|
||||
return MediaBrowser.SHA1(keys.join('|'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue