More fancyness, less bugs

This commit is contained in:
Pieter Vander Vennet 2020-11-17 16:29:51 +01:00
parent 16612b10ef
commit 2177db376c
27 changed files with 821 additions and 607 deletions

View file

@ -29,6 +29,8 @@ export default class EditableTagRendering extends UIElement {
this._answer = new TagRenderingAnswer(tags, configuration);
this._answer.SetStyle("width:100%;")
this._question = this.GenerateQuestion();
this.dumbMode = false;
if (this._configuration.question !== undefined) {
if (State.state.featureSwitchUserbadge.data) {
@ -66,7 +68,6 @@ export default class EditableTagRendering extends UIElement {
InnerRender(): string {
if (this._editMode.data) {
this._question = this.GenerateQuestion();
return this._question.Render();
}