mirror of https://github.com/explosion/spaCy.git
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