From bc27bc9c3199b7d99037c15bb27d20b6fe215ecf Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 18 Mar 2020 11:12:05 +0100 Subject: [PATCH] html widget: content not initialized properly --- CHANGELOG.md | 1 + src/client/app/widgets/plots/html.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 566f557b..08d2294a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - regression (0.49.10) breaking icon with short names (minimum valid length set to 2 characters) + - html widget: content not initialized properly ## 0.49.10 diff --git a/src/client/app/widgets/plots/html.js b/src/client/app/widgets/plots/html.js index fa2b18da..7a1b7fa0 100644 --- a/src/client/app/widgets/plots/html.js +++ b/src/client/app/widgets/plots/html.js @@ -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(){