mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-20 05:13:23 +12:00
improvement: don't set anchor on scroll, only on click
This commit is contained in:
parent
7e11542667
commit
4dbce29e9b
1 changed files with 0 additions and 1 deletions
|
@ -174,7 +174,6 @@ Hooks.RightNav = {
|
|||
for (entry of entries) {
|
||||
if (entry.isIntersecting) {
|
||||
this.setAriaCurrent(entry.target.id);
|
||||
history.replaceState(null, null, `#${entry.target.id}`);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue