mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Update list.js
This commit is contained in:
parent
5ba05e6197
commit
8e17d603a8
@ -722,11 +722,9 @@ class ItemsView {
|
|||||||
this.itemsContainer.setAttribute('data-refreshinterval', '300000');
|
this.itemsContainer.setAttribute('data-refreshinterval', '300000');
|
||||||
}
|
}
|
||||||
|
|
||||||
let i;
|
|
||||||
let length;
|
|
||||||
const btnViewSettings = view.querySelectorAll('.btnViewSettings');
|
const btnViewSettings = view.querySelectorAll('.btnViewSettings');
|
||||||
|
|
||||||
for (i = 0, length = btnViewSettings.length; i < length; i++) {
|
for (let i = 0, length = btnViewSettings.length; i < length; i++) {
|
||||||
btnViewSettings[i].addEventListener('click', showViewSettingsMenu.bind(this));
|
btnViewSettings[i].addEventListener('click', showViewSettingsMenu.bind(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -734,7 +732,7 @@ class ItemsView {
|
|||||||
this.filterButtons = filterButtons;
|
this.filterButtons = filterButtons;
|
||||||
const hasVisibleFilters = this.getVisibleFilters().length;
|
const hasVisibleFilters = this.getVisibleFilters().length;
|
||||||
|
|
||||||
for (i = 0, length = filterButtons.length; i < length; i++) {
|
for (let i = 0, length = filterButtons.length; i < length; i++) {
|
||||||
const btnFilter = filterButtons[i];
|
const btnFilter = filterButtons[i];
|
||||||
btnFilter.addEventListener('click', showFilterMenu.bind(this));
|
btnFilter.addEventListener('click', showFilterMenu.bind(this));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user