forked from MapComplete/MapComplete
Small code fixes, fix #198
This commit is contained in:
parent
1b73f0a43a
commit
1831365597
5 changed files with 7 additions and 10 deletions
|
@ -47,6 +47,7 @@ export class RadioButton<T> extends InputElement<T> {
|
|||
self._selectedElementIndex.setData(i);
|
||||
})
|
||||
}
|
||||
this.dumbMode = false;
|
||||
|
||||
}
|
||||
|
||||
|
@ -69,7 +70,6 @@ export class RadioButton<T> extends InputElement<T> {
|
|||
}
|
||||
|
||||
InnerRender(): string {
|
||||
|
||||
let body = "";
|
||||
for (let i = 0; i < this._elements.length; i++){
|
||||
const el = this._elements[i];
|
||||
|
@ -119,7 +119,6 @@ export class RadioButton<T> extends InputElement<T> {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
const el = document.getElementById(this.id);
|
||||
el.addEventListener("change",
|
||||
function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue