forked from MapComplete/MapComplete
Small fixes (in loading the settings)
This commit is contained in:
parent
54a01dfbef
commit
05c3710e8d
3 changed files with 21 additions and 39 deletions
|
@ -41,6 +41,9 @@ export class DropDownUI extends UIElement {
|
|||
InnerUpdate() {
|
||||
const self = this;
|
||||
const e = document.getElementById("dropdown-" + this.id);
|
||||
if(e === null){
|
||||
return;
|
||||
}
|
||||
// @ts-ignore
|
||||
if (this.selectedElement.data !== e.value) {
|
||||
// @ts-ignore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue