mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-09-13 19:37:37 -05:00
fix: fixed scrollTo on embedded scroll containers
This commit is contained in:
@@ -8,7 +8,7 @@ function fixFragmentLinks(e: MouseEvent) {
|
||||
}
|
||||
|
||||
e.preventDefault();
|
||||
document.getElementById(to.slice(1))?.scrollTo();
|
||||
document.getElementById(to.slice(1))?.scrollIntoView();
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user