Skip to content

Commit

Permalink
[WebUI] Wrap Prism.highlightElement
Browse files Browse the repository at this point in the history
  • Loading branch information
moisseev committed Aug 31, 2022
1 parent 6ffecd3 commit ecf04b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/js/app/config.js
Expand Up @@ -187,7 +187,7 @@ define(["jquery", "codejar", "linenumbers", "prism"],
if (editor[mode].codejar) {
jar = new CodeJar(
document.querySelector("#editor"),
withLineNumbers(Prism.highlightElement)
withLineNumbers((el) => Prism.highlightElement(el))
);
}

Expand Down

0 comments on commit ecf04b8

Please sign in to comment.