mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix unused var and pseudorandom warnings
This commit is contained in:
parent
9077782c17
commit
ad2472e90e
19 changed files with 31 additions and 30 deletions
|
@ -31,7 +31,7 @@ function getScreensaverPlugin(isLoggedIn) {
|
|||
let option;
|
||||
try {
|
||||
option = userSettings.get('screensaver', false);
|
||||
} catch (err) {
|
||||
} catch {
|
||||
option = isLoggedIn ? 'backdropscreensaver' : 'logoscreensaver';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue