summaryrefslogtreecommitdiff
path: root/themes/tabi-lean/static/js/footnoteBacklinks.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'themes/tabi-lean/static/js/footnoteBacklinks.min.js')
-rw-r--r--themes/tabi-lean/static/js/footnoteBacklinks.min.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/themes/tabi-lean/static/js/footnoteBacklinks.min.js b/themes/tabi-lean/static/js/footnoteBacklinks.min.js
deleted file mode 100644
index c2175a7..0000000
--- a/themes/tabi-lean/static/js/footnoteBacklinks.min.js
+++ /dev/null
@@ -1 +0,0 @@
-function assignReferenceIds(){for(const e of document.querySelectorAll(".footnote-reference"))e.id="ref:"+e.children[0].hash.substring(1)}function createFootnoteBacklinks(){for(const n of document.querySelectorAll(".footnote-definition")){var e,t="ref:"+n.id;document.getElementById(t)&&((e=document.createElement("a")).href="#"+t,e.className="footnote-backlink",e.textContent="↩",n.lastElementChild.appendChild(e))}}function initFootnotes(){assignReferenceIds(),createFootnoteBacklinks()}window.addEventListener("load",initFootnotes);