From 0d9c5bd5408160f12ec5a6772174719c88bd4757 Mon Sep 17 00:00:00 2001 From: Deven Blake Date: Sun, 20 Jun 2021 20:25:29 -0400 Subject: [PATCH] try #14 --- homepage/knowledge/cat.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homepage/knowledge/cat.html b/homepage/knowledge/cat.html index be05f9d..f2b23f7 100644 --- a/homepage/knowledge/cat.html +++ b/homepage/knowledge/cat.html @@ -48,7 +48,7 @@ window.load_highlighting = function(language){ var elements = document.getElementsByClassName("language-" + language); for(var i = 0; i < elements.length; ++i) try{ - hljs.highlightElement(element); + hljs.highlightElement(elements[i]); }catch(err){ console.log(err.message); }