mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Enable eslint array-callback-return foreach checking
This commit is contained in:
parent
aabbc8920f
commit
858aea92f9
5 changed files with 18 additions and 7 deletions
|
@ -205,8 +205,12 @@ function renderTrackSelections(page, instance, item, forceReload) {
|
|||
});
|
||||
|
||||
mediaSources = [];
|
||||
resolutionNames.forEach(v => mediaSources.push(v));
|
||||
sourceNames.forEach(v => mediaSources.push(v));
|
||||
resolutionNames.forEach(v => {
|
||||
mediaSources.push(v);
|
||||
});
|
||||
sourceNames.forEach(v => {
|
||||
mediaSources.push(v);
|
||||
});
|
||||
|
||||
instance._currentPlaybackMediaSources = mediaSources;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue