1
0
Fork 0
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:
Bill Thornton 2022-09-30 17:57:47 -04:00
parent 0425271b43
commit 52e92d44af
4 changed files with 43 additions and 6 deletions

View file

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