Revised the code in the constructor of the JavaScript OriginalLineItemSelector class.
This commit is contained in:
parent
30e0c7682c
commit
6a8773c531
@ -96,9 +96,7 @@ class OriginalLineItemSelector {
|
|||||||
for (const option of this.#options) {
|
for (const option of this.#options) {
|
||||||
this.#optionById[option.id] = option;
|
this.#optionById[option.id] = option;
|
||||||
}
|
}
|
||||||
this.#query.addEventListener("input", () => {
|
this.#query.oninput = () => this.#filterOptions();
|
||||||
this.#filterOptions();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user