aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/markup/content.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/markup/content.js')
-rw-r--r--web_src/js/markup/content.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web_src/js/markup/content.js b/web_src/js/markup/content.js
index 19b749aaab..0564199bbf 100644
--- a/web_src/js/markup/content.js
+++ b/web_src/js/markup/content.js
@@ -2,8 +2,8 @@ import {renderMermaid} from './mermaid.js';
import {initMarkupTasklist} from './tasklist.js';
// code that runs for all markup content
-export async function initMarkupContent() {
- await renderMermaid(document.querySelectorAll('code.language-mermaid'));
+export function initMarkupContent() {
+ const _promise = renderMermaid(document.querySelectorAll('code.language-mermaid'));
}
// code that only runs for comments