mirror of
https://github.com/youwen5/site.git
synced 2024-11-24 17:33:51 -08:00
fix: correctly detect navigation state to external url
This commit is contained in:
parent
208b52b0e6
commit
56c82574ec
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,8 @@
|
||||||
root = document.getElementsByTagName('html')[0];
|
root = document.getElementsByTagName('html')[0];
|
||||||
|
|
||||||
root?.classList.add('smoothscroll');
|
root?.classList.add('smoothscroll');
|
||||||
|
|
||||||
|
navigating = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
beforeNavigate(() => {
|
beforeNavigate(() => {
|
||||||
|
@ -45,3 +47,4 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Footer />
|
<Footer />
|
||||||
|
<Footer />
|
||||||
|
|
Loading…
Reference in a new issue