try #14
This commit is contained in:
parent
cdd78ce1a9
commit
0d9c5bd540
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user