From d91dd128ae7e85685dcf570ce3aa7195d7e9878f Mon Sep 17 00:00:00 2001 From: Gregoo Date: Thu, 30 Jan 2025 23:35:51 +0100 Subject: [PATCH] Cosmetics --- static/scripts/grid/sort.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/scripts/grid/sort.js b/static/scripts/grid/sort.js index 0fc4e5f..93602fe 100644 --- a/static/scripts/grid/sort.js +++ b/static/scripts/grid/sort.js @@ -20,8 +20,8 @@ class BrickGridSort { // Clear button this.html_clear = this.html_sort.querySelector("button[data-sort-clear]") if (this.html_clear) { - this.html_clear.addEventListener("click", ((grid) => () => { - grid.clear(); + this.html_clear.addEventListener("click", ((gridsort) => () => { + gridsort.clear(); })(this)) }