mirror of
https://github.com/ryan-haskell/elm-spa.git
synced 2024-08-16 16:00:48 +03:00
give more time to scroll on prod
This commit is contained in:
parent
f183a1fa21
commit
464d5d215b
@ -14,7 +14,7 @@ const scrollToHash = () => {
|
||||
}
|
||||
|
||||
app.ports.onUrlChange.subscribe(_ => setTimeout(scrollToHash, 400))
|
||||
setTimeout(scrollToHash, 200)
|
||||
setTimeout(scrollToHash, 400)
|
||||
|
||||
// Quick search shortcut (/)
|
||||
window.addEventListener('keypress', (e) => {
|
||||
|
Loading…
Reference in New Issue
Block a user