Commit 3acb5e0d2473ed72723c1754766f8578f67e551c
fix /posts page not actually closing (stupid mix!)
mixmix committed on 8/13/2018, 8:53:33 AMParent: f0eae06e2b551bf5a55dae3e8509e1b5308cfbf4
Files changed
app/page/posts.js | changed |
package-lock.json | changed |
app/page/posts.js | ||
---|---|---|
@@ -16,8 +16,9 @@ | ||
16 | 16 … | 'about.obs.name': 'first', |
17 | 17 … | 'about.html.avatar': 'first', |
18 | 18 … | 'about.html.link': 'first', |
19 | 19 … | 'app.sync.goTo': 'first', |
20 … | + 'app.sync.locationId': 'first', | |
20 | 21 … | 'keys.sync.id': 'first', |
21 | 22 … | 'message.html.compose': 'first', |
22 | 23 … | 'message.html.markdown': 'first', |
23 | 24 … | 'message.html.timestamp': 'first', |
@@ -88,9 +89,9 @@ | ||
88 | 89 … | if (state.sort === BY_UPDATE) page = PageByUpdate(state) |
89 | 90 … | if (state.sort === BY_START) page = PageByStart(state) |
90 | 91 … | |
91 | 92 … | page.title = '/posts' |
92 | - page.id = '{"page": "posts"}' // this is needed because our page is a computed | |
93 … | + page.id = api.app.sync.locationId({page: 'posts'}) // this is needed because our page is a computed | |
93 | 94 … | page.scroll = keyscroll(page.querySelector('section.content')) |
94 | 95 … | return page |
95 | 96 … | }) |
96 | 97 … |
package-lock.json | ||
---|---|---|
The diff is too large to show. Use a local git client to view these changes. Old file size: 327767 bytes New file size: 327766 bytes |
Built with git-ssb-web