Commit 51cce4b91688bab9a65aaab93e4e95848d30f84b
Make close work again
Anders Rune Jensen committed on 8/7/2018, 9:41:01 PMParent: a0ca14546c6dba633bdf4bbc3fd823f2d597db23
Files changed
app/html/app.js | changed |
app/html/app.js | ||
---|---|---|
@@ -27,8 +27,13 @@ | ||
27 | 27 … | |
28 | 28 … | api.app.sync.initialise(App) |
29 | 29 … | // runs all the functions in app/sync/initialise |
30 | 30 … | |
31 … | + api.history.obs.location()(loc => { | |
32 … | + if (!api.app.html.tabs().currentPage()) // close | |
33 … | + api.app.sync.goTo(loc || {}) | |
34 … | + }) | |
35 … | + | |
31 | 36 … | return App |
32 | 37 … | } |
33 | 38 … | } |
34 | 39 … |
Built with git-ssb-web