This commit is contained in:
isUnknown 2025-06-02 10:32:13 +02:00
parent deeccaad03
commit f24848d034

View file

@ -76,8 +76,8 @@ onBeforeMount(() => {
}); });
onMounted(() => { onMounted(() => {
if (route.hash.length > 0) { const targetBtn = document.querySelector(route.hash);
const targetBtn = document.querySelector(route.hash); if (targetBtn) {
targetBtn.scrollIntoView(); targetBtn.scrollIntoView();
} }
}); });