Commit 11e0945c3ff874c25317b05e6d93fb55f0bf52e4
show the "View full thread" even if all replies have been filtered by current view
Matt McKegg committed on 10/25/2017, 10:46:29 AMParent: 56b8551c26f79bf9916918f2d7cb50aa0f9e9734
Files changed
modules/feed/html/rollup.js | changed |
modules/feed/html/rollup.js | ||
---|---|---|
@@ -223,14 +223,12 @@ | ||
223 | 223 | } |
224 | 224 | }, [ |
225 | 225 | meta, |
226 | 226 | renderedMessage, |
227 | - when(replyElements.length, [ | |
228 | - when(replies.length > replyElements.length || partial, | |
229 | - h('a.full', {href: item.key, anchor: replies[0] && replies[0].key}, [i18n('View full thread') + ' (', replies.length, ')']) | |
230 | - ), | |
231 | - h('div.replies', replyElements) | |
232 | - ]) | |
227 | + when(replies.length > replyElements.length || partial, | |
228 | + h('a.full', {href: item.key, anchor: replies[0] && replies[0].key}, [i18n('View full thread') + ' (', replies.length, ')']) | |
229 | + ), | |
230 | + h('div.replies', replyElements) | |
233 | 231 | ]) |
234 | 232 | } |
235 | 233 | }) |
236 | 234 |
Built with git-ssb-web