This commit is contained in:
Cameron 2020-08-05 20:08:42 +01:00
parent 8e17d603a8
commit 6e5dc7f7d1

View File

@ -744,7 +744,8 @@ class ItemsView {
}
const sortButtons = view.querySelectorAll('.btnSort');
let i;
let length;
for (this.sortButtons = sortButtons, i = 0, length = sortButtons.length; i < length; i++) {
const sortButton = sortButtons[i];
sortButton.addEventListener('click', showSortMenu.bind(this));