html widget: content not initialized properly

This commit is contained in:
bordun 2020-03-18 11:12:05 +01:00
parent b2da0a8962
commit edc4ffd2ec
2 changed files with 3 additions and 0 deletions

View file

@ -44,6 +44,8 @@ class Html extends StaticProperties(Widget, {bypass: true}) {
if (!this.getProp('border')) this.container.classList.add('noborder')
if (this.getProp('html') !== '') this.updateHtml()
}
updateHtml(){