1
0
Fork 0
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:
Luke Pulverenti 2014-07-02 14:34:08 -04:00
parent db0a6eb632
commit 5bec78f61f
218 changed files with 116 additions and 89 deletions

View file

@ -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('|'));
}