diff --git a/renderer/renderJS/compare_ui.js b/renderer/renderJS/compare_ui.js index aded1cc9..bd97b061 100644 --- a/renderer/renderJS/compare_ui.js +++ b/renderer/renderJS/compare_ui.js @@ -28,7 +28,7 @@ class windowState { }) for ( const element of MA.query('.sort-up, .sort-down') ) { - element.addEventListener('click', () => { this.changeSort() }) + element.addEventListener('click', (e) => { this.changeSort(e) }) } MA.byId('clearButton').addEventListener('click', () => {