diff --git a/src/accounting/static/js/account-selector.js b/src/accounting/static/js/account-selector.js index 69f13ad..59e8ad0 100644 --- a/src/accounting/static/js/account-selector.js +++ b/src/accounting/static/js/account-selector.js @@ -95,9 +95,9 @@ class AccountSelector { */ #initializeAccountQuery() { const query = document.getElementById(this.#prefix + "-query"); - const helper = this; + const selector = this; query.addEventListener("input", function () { - helper.#filterAccountOptions(); + selector.#filterAccountOptions(); }); }