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
|
@ -980,9 +980,9 @@ class ChromecastPlayer {
|
|||
|
||||
const instance = this;
|
||||
|
||||
apiClient.getItem(userId, item.Id).then(function (item) {
|
||||
apiClient.getItem(userId, item.Id).then(function (fetchedItem) {
|
||||
instance.playWithCommand({
|
||||
items: [item]
|
||||
items: [fetchedItem]
|
||||
}, 'Shuffle');
|
||||
});
|
||||
}
|
||||
|
@ -993,9 +993,9 @@ class ChromecastPlayer {
|
|||
|
||||
const instance = this;
|
||||
|
||||
apiClient.getItem(userId, item.Id).then(function (item) {
|
||||
apiClient.getItem(userId, item.Id).then(function (fetchedItem) {
|
||||
instance.playWithCommand({
|
||||
items: [item]
|
||||
items: [fetchedItem]
|
||||
}, 'InstantMix');
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue