Skip to content

Commit

Permalink
Fix settings display issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Xwilarg committed Sep 10, 2024
1 parent 27d8362 commit f03303d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/options/Select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default class Select implements AOption
init(elems: any): void {
let select = document.getElementById(this.#id) as HTMLSelectElement;
for (var i, j = 0; i = select.options[j]; j++) {
if (i.value == elems.useZip) {
if (i.value == elems[this.#id]) {
select.selectedIndex = j;
break;
}
Expand Down

0 comments on commit f03303d

Please sign in to comment.