1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Apply suggestions

This commit is contained in:
Cameron 2020-08-07 09:27:11 +01:00
parent 59b851219f
commit 0872f3f001
2 changed files with 23 additions and 30 deletions

View file

@ -34,9 +34,7 @@ function getScreensaverPlugin(isLoggedIn) {
const plugins = pluginManager.ofType('screensaver');
for (let i = 0, length = plugins.length; i < length; i++) {
const plugin = plugins[i];
for (const plugin of plugins) {
if (plugin.id === option) {
return plugin;
}