Fix Webpack-imported modules

This commit is contained in:
Sebastian Serth
2022-08-12 02:44:19 +02:00
parent a5f59e139a
commit eb175b3b40
4 changed files with 5 additions and 4 deletions

View File

@@ -257,7 +257,7 @@ $(document).on('turbolinks:load', function () {
var highlightCode = function () {
$('pre code').each(function (index, element) {
hljs.highlightBlock(element);
hljs.highlightElement(element);
});
};