Fixed a variable name in the #initializeAccountQuery method of the JavaScript AccountSelector class.

This commit is contained in:
依瑪貓 2023-03-03 23:22:36 +08:00
parent 8cf81b5459
commit 11966a52ba

View File

@ -95,9 +95,9 @@ class AccountSelector {
*/ */
#initializeAccountQuery() { #initializeAccountQuery() {
const query = document.getElementById(this.#prefix + "-query"); const query = document.getElementById(this.#prefix + "-query");
const helper = this; const selector = this;
query.addEventListener("input", function () { query.addEventListener("input", function () {
helper.#filterAccountOptions(); selector.#filterAccountOptions();
}); });
} }