}
})
}
$('.search').click(function (e) {
e.stopPropagation();
});
});
global.gitlist.scrollHash = function(element, event) {
const url = new URL(element.href)
const id = url.hash.substring(1)
const elfind = document.getElementById(id + '-parent')
if (elfind === null) {
return true;
}
elfind.scrollIntoView({
behavior: 'smooth',
block: "center",
})
if (event !== undefined) {
event.preventDefault()