From 12b273c01093d1865ce5732d901b7742288f3439 Mon Sep 17 00:00:00 2001 From: Evan Wondrasek Date: Fri, 28 Feb 2025 11:25:52 -0800 Subject: [PATCH] Fix deep link not working for H4 headings --- assets/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/main.js b/assets/js/main.js index d98df05..66f8c6b 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -55,7 +55,7 @@ function initParallax() { (function (window, document) { var addAnchors = () => { - var headings = document.querySelectorAll('.gh-content h1, .gh-content h2, .gh-content h3, gh-.content h4, .gh-content h5, .gh-content h6') + var headings = document.querySelectorAll('.gh-content h1, .gh-content h2, .gh-content h3, .gh-content h4, .gh-content h5, .gh-content h6') headings.forEach((heading) => { heading.insertAdjacentHTML('beforeend', `