strip debug code

This commit is contained in:
osmarks 2024-04-14 14:53:50 +01:00
parent 91b992428e
commit 20488d93c8
1 changed files with 0 additions and 2 deletions

View File

@ -532,12 +532,10 @@ const fixDetailsSummary = () => {
const el = document.getElementById(window.location.hash.slice(1))
var parent = el
if (!el) return
console.log("got", el)
if (el.classList.contains("footnote-item")) {
if (previousHighlight) {
previousHighlight.classList.remove("hl1")
}
console.log("is footnote item", el)
el.classList.add("hl1")
previousHighlight = el
}