Fix dynamic import with relative paths
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details

pull/24/head
Bad 3 years ago
parent 0738ce4cb1
commit 1bf1712684

@ -4,7 +4,7 @@ const {lazyLoad} = require("../lazy-load-module")
class HighlightedCode extends ElemJS {
constructor(code) {
super(code)
lazyLoad("/static/hljs.js").then(hljs => hljs.highlightBlock(this.element))
lazyLoad("./static/hljs.js").then(hljs => hljs.highlightBlock(this.element))
}
}

Loading…
Cancel
Save