Commit ed729a600b4f3da6e0abaf26bee51aa7d7d5f86a
tidy
Dominic Tarr committed on 8/14/2017, 8:04:44 AMParent: bcab6baed6e2bb6bf5d3ddbb628440027b68ef2c
Files changed
app/page/home.js | changed |
app/page/home.js | ||
---|---|---|
@@ -115,21 +115,23 @@ | ||
115 | 115 | groupedThreads |
116 | 116 | .map(function (thread) { |
117 | 117 | var el = api.app.html |
118 | 118 | .threadCard(thread, opts) |
119 | + | |
119 | 120 | if(thread.value.content.channel) { |
120 | 121 | el.onclick = function (ev) { |
121 | - console.log('THTREAD CHANNEL', thread.value.content.channel) | |
122 | 122 | api.history.sync.push({channel: thread.value.content.channel}) |
123 | 123 | ev.preventDefault() |
124 | 124 | } |
125 | 125 | } |
126 | + | |
126 | 127 | return el |
127 | 128 | }) |
128 | 129 | ) |
129 | 130 | ]), |
130 | 131 | ]) |
131 | 132 | ) |
133 | + | |
132 | 134 | return container |
133 | 135 | } |
134 | 136 | ) |
135 | 137 |
Built with git-ssb-web