Commit 2463952bc5e8b1c541752ded2c4c76094d1509e9
fix displaying of "view full thread" button
Matt McKegg committed on 10/27/2016, 10:48:12 PMParent: 93dc447fa38284caa82c79b12e27c9d0ebda449a
Files changed
views/public-feed.js | changed |
views/public-feed.js | ||
---|---|---|
@@ -54,9 +54,9 @@ | ||
54 | 54 … | return m('FeedEvent', [ |
55 | 55 … | meta, |
56 | 56 … | renderedMessage, |
57 | 57 … | when(replies.length, [ |
58 | - when(group.replies > replies.length, | |
58 … | + when(group.replies.length > replies.length, | |
59 | 59 … | m('a.full', {href: `#${group.messageId}`}, ['View full thread']) |
60 | 60 … | ), |
61 | 61 … | m('div.replies', replies) |
62 | 62 … | ]) |
Built with git-ssb-web