mirror of
https://github.com/osmarks/website
synced 2025-02-11 00:20: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))
|
const el = document.getElementById(window.location.hash.slice(1))
|
||||||
var parent = el
|
var parent = el
|
||||||
if (!el) return
|
if (!el) return
|
||||||
console.log("got", el)
|
|
||||||
if (el.classList.contains("footnote-item")) {
|
if (el.classList.contains("footnote-item")) {
|
||||||
if (previousHighlight) {
|
if (previousHighlight) {
|
||||||
previousHighlight.classList.remove("hl1")
|
previousHighlight.classList.remove("hl1")
|
||||||
}
|
}
|
||||||
console.log("is footnote item", el)
|
|
||||||
el.classList.add("hl1")
|
el.classList.add("hl1")
|
||||||
previousHighlight = el
|
previousHighlight = el
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user