mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #3974 from thornbill/sonar-lint-2
This commit is contained in:
commit
a0f8340be2
4 changed files with 43 additions and 6 deletions
|
@ -79,8 +79,7 @@ function generateDeviceId() {
|
|||
keys.push(navigator.userAgent);
|
||||
keys.push(new Date().getTime());
|
||||
if (window.btoa) {
|
||||
const result = replaceAll(btoa(keys.join('|')), '=', '1');
|
||||
return result;
|
||||
return replaceAll(btoa(keys.join('|')), '=', '1');
|
||||
}
|
||||
|
||||
return new Date().getTime();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue