1
0
This commit is contained in:
Deven Blake 2021-06-20 20:25:29 -04:00
parent cdd78ce1a9
commit 0d9c5bd540

View File

@ -48,7 +48,7 @@ window.load_highlighting = function(language){
var elements = document.getElementsByClassName("language-" + language); var elements = document.getElementsByClassName("language-" + language);
for(var i = 0; i < elements.length; ++i) for(var i = 0; i < elements.length; ++i)
try{ try{
hljs.highlightElement(element); hljs.highlightElement(elements[i]);
}catch(err){ }catch(err){
console.log(err.message); console.log(err.message);
} }