From 6799e98b6247403c8ac9a1b3439ab8a66a148177 Mon Sep 17 00:00:00 2001 From: Charles Chan Date: Tue, 26 Dec 2023 17:51:34 +0800 Subject: [PATCH] Update index.js --- public/js/index.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/public/js/index.js b/public/js/index.js index 71a24c9..b996bb0 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -21,16 +21,16 @@ setInterval(() => { } }, 1000) -setInterval(() => { - const prefix = "https://vultr6.zeerd.com/plantuml.php?uml="; - var elements = document.getElementsByClassName('language-plantuml'); - for (var i=0, len=elements.length|0; i"; - elements[i].innerHTML = ""; - elements[i].className = "plantuml"; - elements[i].outerHTML = elements[i].outerHTML.replace(/code/g,"div"); - } -}, 1000) +// setInterval(() => { +// const prefix = "https://vultr6.zeerd.com/plantuml.php?uml="; +// var elements = document.getElementsByClassName('language-plantuml'); +// for (var i=0, len=elements.length|0; i"; +// elements[i].innerHTML = ""; +// elements[i].className = "plantuml"; +// elements[i].outerHTML = elements[i].outerHTML.replace(/code/g,"div"); +// } +// }, 1000)