mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix: eslint no-shadow errors
This commit is contained in:
parent
6a93a2eb29
commit
832b9eaf4d
30 changed files with 273 additions and 271 deletions
|
@ -98,9 +98,9 @@ function hideOsd() {
|
|||
}
|
||||
}
|
||||
|
||||
function setIcon(iconElement, icon) {
|
||||
iconElement.classList.remove('brightness_high', 'brightness_medium', 'brightness_low');
|
||||
iconElement.classList.add(icon);
|
||||
function setIcon(iconHtmlElement, icon) {
|
||||
iconHtmlElement.classList.remove('brightness_high', 'brightness_medium', 'brightness_low');
|
||||
iconHtmlElement.classList.add(icon);
|
||||
}
|
||||
|
||||
function updateElementsFromPlayer(brightness) {
|
||||
|
|
|
@ -1764,9 +1764,9 @@ class PlaybackManager {
|
|||
MediaTypes: 'Photo,Video',
|
||||
Limit: UNLIMITED_ITEMS
|
||||
}).then(function (result) {
|
||||
const items = result.Items;
|
||||
const playbackItems = result.Items;
|
||||
|
||||
let index = items.map(function (i) {
|
||||
let index = playbackItems.map(function (i) {
|
||||
return i.Id;
|
||||
}).indexOf(firstItem.Id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue