Commit 2cbf6075c6387cd0e72c91a39e1bbcbc91d0f4fa
Merge branch 'master' into reply_to_thread
mix irving committed on 8/15/2017, 4:29:59 AMParent: f1e1c0f3aedd176590017f411e2a923155169442
Parent: f2c1e3d81bf5bba14c878872f1c99529d7eb2be5
Files changed
app/page/home.js | changed |
app/page/home.js | ||
---|---|---|
@@ -105,16 +105,16 @@ | ||
105 | 105 | // but they are here to be compatible with the old MCSS. |
106 | 106 | h('div.container', [ |
107 | 107 | //private section |
108 | 108 | h('section.updates -directMessage', [ |
109 | - h('div.threads', | |
109 | + h('div.threads', | |
110 | 110 | groupedThreads |
111 | 111 | .map(function (thread) { |
112 | 112 | |
113 | 113 | const channel = thread.value.content.channel |
114 | - const onClick = channel | |
114 | + const onClick = channel | |
115 | 115 | ? (ev) => api.history.sync.push({ channel }) |
116 | - : null | |
116 | + : null // threadCard will install default onClick | |
117 | 117 | |
118 | 118 | return api.app.html.threadCard(thread, { onClick }) |
119 | 119 | }) |
120 | 120 | ) |
Built with git-ssb-web