mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -07:00
Make linter happy
This commit is contained in:
parent
00c6501dc8
commit
f6a83c3701
@ -75,9 +75,9 @@ import { playbackManager } from './playback/playbackmanager';
|
||||
if (pluginSpec in window) {
|
||||
console.log(`Loading plugin (via window): ${pluginSpec}`);
|
||||
let pluginInstance = await window[pluginSpec];
|
||||
|
||||
|
||||
if (typeof pluginInstance === 'function') {
|
||||
pluginInstance = await pluginInstance();
|
||||
pluginInstance = await pluginInstance();
|
||||
}
|
||||
|
||||
// init plugin and pass basic dependencies
|
||||
|
Loading…
Reference in New Issue
Block a user