summaryrefslogtreecommitdiff
path: root/_site/site_libs/header-attrs-2.21/header-attrs.js
diff options
context:
space:
mode:
authorWindowsAddict2023-07-15 22:26:09 +0000
committerWindowsAddict2023-07-15 22:26:09 +0000
commit793097a617882ca746ea458af7246842105b512f (patch)
treea099086de80397b43742d402289d659ee3daf372 /_site/site_libs/header-attrs-2.21/header-attrs.js
parent16ce1e2c57ebea6fb48dd9e600969694e4e8e220 (diff)
downloadmassgrave.dev-793097a617882ca746ea458af7246842105b512f.zip
Update LTSC link in ARM64 page
Diffstat (limited to '_site/site_libs/header-attrs-2.21/header-attrs.js')
-rw-r--r--_site/site_libs/header-attrs-2.21/header-attrs.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/_site/site_libs/header-attrs-2.21/header-attrs.js b/_site/site_libs/header-attrs-2.21/header-attrs.js
deleted file mode 100644
index dd57d92..0000000
--- a/_site/site_libs/header-attrs-2.21/header-attrs.js
+++ /dev/null
@@ -1,12 +0,0 @@
-// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
-// be compatible with the behavior of Pandoc < 2.8).
-document.addEventListener('DOMContentLoaded', function(e) {
- var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
- var i, h, a;
- for (i = 0; i < hs.length; i++) {
- h = hs[i];
- if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
- a = h.attributes;
- while (a.length > 0) h.removeAttribute(a[0].name);
- }
-});