Fix single-doc reload on escape in Firefox

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

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

Loading…
Cancel
Save