mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
apply suggestion change
This commit is contained in:
parent
06b42973f4
commit
0821d0ad9e
@ -20,13 +20,13 @@ define(["events", "playbackManager", "pluginManager", "inputManager", "connectio
|
||||
}
|
||||
});
|
||||
|
||||
function getScreensaverPlugin() {
|
||||
function getScreensaverPlugin(isLoggedIn) {
|
||||
|
||||
var option;
|
||||
try {
|
||||
option = userSettings.get("screensaver", false);
|
||||
} catch (err) {
|
||||
option = null;
|
||||
option = isLoggedIn ? "backdropscreensaver" : "logoscreensaver";
|
||||
}
|
||||
|
||||
var plugins = pluginManager.ofType("screensaver");
|
||||
|
Loading…
Reference in New Issue
Block a user