Unified · Split
| @@ -69,8 +69,10 @@ class app.Router · 68 unmodified lines | ||
| 69 | 69 | return |
| 70 | 70 | |
| 71 | 71 | root: -> |
| 72 | − window.location = '/' if app.isSingleDoc() | |
| 73 | − @triggerRoute 'root' | |
| 72 | + if app.isSingleDoc() | |
| 73 | + setTimeout (-> window.location = '/'), 0 | |
| 74 | + else | |
| 75 | + @triggerRoute 'root' | |
| 74 | 76 | return |
| 75 | 77 | |
| 76 | 78 | about: (context) -> |