Rich message rendering #24
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue