fix: correctly detect navigation state to external url

This commit is contained in:
Youwen Wu 2024-05-05 10:55:32 -07:00
parent 208b52b0e6
commit 56c82574ec
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -19,6 +19,8 @@
root = document.getElementsByTagName('html')[0];
root?.classList.add('smoothscroll');
navigating = false;
});
beforeNavigate(() => {
@ -45,3 +47,4 @@
</div>
<Footer />
<Footer />