mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Fix recomputing of :target [ci skip]
Prevents additional history entry
This commit is contained in:
parent
55bb570f51
commit
1981b194cc
|
@ -42,7 +42,6 @@ export const onRouteUpdate = ({ location }) => {
|
|||
// Navigate to targeted element
|
||||
el.scrollIntoView()
|
||||
// Force recomputing :target pseudo class with pushState/popState
|
||||
window.location.hash = ''
|
||||
window.location.hash = location.hash
|
||||
}
|
||||
}, 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user