···6868 }
6969 }
70707171- // This is always in a type="module" script, so, it'll always run after the DOM is ready
7272- observeAnchors();
7171+ document.addEventListener("DOMContentLoaded", observeAnchors);
73727473 if (observeMutations) {
7574 // Watch for dynamically added anchors