From b444af108213d758b75c9de99dffd4adc3c6d408 Mon Sep 17 00:00:00 2001 From: michalsn Date: Fri, 22 Dec 2023 10:22:46 +0100 Subject: [PATCH] docs: fix hljs init --- docs/assets/js/hljs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/assets/js/hljs.js b/docs/assets/js/hljs.js index 6f9098a..56159c4 100644 --- a/docs/assets/js/hljs.js +++ b/docs/assets/js/hljs.js @@ -1,3 +1,3 @@ -document.addEventListener('DOMContentLoaded', (event) => { +window.document$.subscribe(() => { hljs.highlightAll(); });