diff --git a/src/ts/components/button.ts b/src/ts/components/button.ts index 11f35ba1e..f5d92ceaa 100644 --- a/src/ts/components/button.ts +++ b/src/ts/components/button.ts @@ -104,7 +104,7 @@ export class Button extends Component { * @param text the text to put into the label of the button */ setText(text: LocalizableText): void { - this.textLabel.setText(text) + this.textLabel.setText(text); } protected onClickEvent() {