Small fixes (in loading the settings)

This commit is contained in:
Pieter Vander Vennet 2020-07-15 10:47:01 +02:00
parent 54a01dfbef
commit 05c3710e8d
3 changed files with 21 additions and 39 deletions

View file

@ -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