]>
git.proxmox.com Git - proxmox-backup.git/blob - docs/custom.js
1 window
.addEventListener('DOMContentLoaded', (event
) => {
2 let activeSection
= document
.querySelector("a.current");
4 // https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
5 activeSection
.scrollIntoView({ block
: 'center' });