diff --git a/frontend/templates/iframe.ejs b/frontend/templates/iframe.ejs
index 7f430f75..2f3f075d 100644
--- a/frontend/templates/iframe.ejs
+++ b/frontend/templates/iframe.ejs
@@ -2,7 +2,7 @@
-
+
Comments
@@ -168,12 +168,10 @@
(function (d) {
const r = d.head || d.body;
const s = document.createElement('script');
- if ('noModule' in s) {
- s.src = 'remark.mjs';
- } else {
- s.src = 'remark.js';
- s.async = true;
- }
+
+ s.src = 'noModule' in s ? 'remark.mjs' : 'remark.js';
+ s.async = true;
+ s.defer = true;
r.appendChild(s);
})(document);