mirror of
https://github.com/osmarks/website
synced 2025-02-10 16:10:03 +00:00
strip debug code
This commit is contained in:
parent
91b992428e
commit
20488d93c8
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user