diff --git a/UI/Input/RadioButton.ts b/UI/Input/RadioButton.ts index 33a0f0b..b04ce01 100644 --- a/UI/Input/RadioButton.ts +++ b/UI/Input/RadioButton.ts @@ -74,14 +74,14 @@ export class RadioButton extends InputElement { for (let i = 0; i < this._elements.length; i++){ const el = this._elements[i]; const htmlElement = - '' + - '' + - '
'; + `` + + `` + + `
`; body += htmlElement; } - return "
" + body + "
"; + return `
${body}
`; } public ShowValue(t: T): boolean {