diff options
| author | Andrew Dolgov <noreply@fakecake.org> | 2021-02-16 22:05:12 +0300 |
|---|---|---|
| committer | Andrew Dolgov <noreply@fakecake.org> | 2021-02-16 22:05:12 +0300 |
| commit | 89e8176c6912f757f400dd47d3495502db0b7322 (patch) | |
| tree | 3237c6d458ff9ab4b64c8a5082d5511c2c2b992f | |
| parent | 91e796938301b3ca3206515e7232db938d7adccc (diff) | |
Article.render: parse dojo widgets
| -rw-r--r-- | js/Article.js | 2 |
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 += " "; |