mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add sonarjs eslint plugin
This commit is contained in:
parent
0425271b43
commit
52e92d44af
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