Commit c412f272844106f5c8b0273c71bf2f773e740e14
HACK - fix keyboard shortcut for new Page -channel
mix irving committed on 10/17/2017, 1:22:59 AMParent: 8848cc417120db1c18557953392b15fc1eb07237
Files changed
app/page/channel.js | changed |
app/page/channel.js | |||
---|---|---|---|
@@ -61,10 +61,15 @@ | |||
61 | 61 … | ) | |
62 | 62 … | } | |
63 | 63 … | draw() | |
64 | 64 … | ||
65 | - return h('Page -channel', {title: channel}, [ | ||
65 … | + var page = h('Page -channel', {title: channel}, [ | ||
66 | 66 … | filterMenu, | |
67 | 67 … | container | |
68 | 68 … | ]) | |
69 … | + | ||
70 … | + // TODO better scroll hack for hekyboard shortcuts | ||
71 … | + page.scroll = container.scroll | ||
72 … | + | ||
73 … | + return page | ||
69 | 74 … | } | |
70 | 75 … | } |
Built with git-ssb-web