Fix single-doc reload on escape in Firefox

pull/142/merge
Thibaut 10 years ago
parent 44a3b4584d
commit 02029e5e23

@ -69,8 +69,10 @@ class app.Router
return
root: ->
window.location = '/' if app.isSingleDoc()
@triggerRoute 'root'
if app.isSingleDoc()
setTimeout (-> window.location = '/'), 0
else
@triggerRoute 'root'
return
about: (context) ->

Loading…
Cancel
Save