summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-16 22:05:12 +0300
committerAndrew Dolgov <[email protected]>2021-02-16 22:05:12 +0300
commit89e8176c6912f757f400dd47d3495502db0b7322 (patch)
tree3237c6d458ff9ab4b64c8a5082d5511c2c2b992f
parent91e796938301b3ca3206515e7232db938d7adccc (diff)
Article.render: parse dojo widgets
-rw-r--r--js/Article.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Article.js b/js/Article.js
index 54883c2bf..4d400e2dc 100644
--- a/js/Article.js
+++ b/js/Article.js
@@ -242,6 +242,8 @@ const Article = {
container.innerHTML = row.getAttribute("data-content").trim();
+ dojo.parser.parse(container);
+
// blank content element might screw up onclick selection and keyboard moving
if (container.textContent.length == 0)
container.innerHTML += "&nbsp;";