Commit 719c20c66b72e2b795bcbf2367d4ec4e85bb0d1a
make view full thread show total post count on all views
Matt McKegg committed on 10/19/2017, 3:08:11 AMParent: a7c3e5082024db0cf8d9cabcd605b1aac6575fd5
Files changed
modules/feed/html/rollup.js | changed |
modules/feed/html/rollup.js | ||
---|---|---|
@@ -179,10 +179,10 @@ | ||
179 | 179 | lastBumpType = type |
180 | 180 | } |
181 | 181 | }) |
182 | 182 | |
183 | - var replies = item.replies.filter(isReply).filter(displayFilter).sort(byAssertedTime) | |
184 | - var replyElements = replies.slice(-3).map((msg) => { | |
183 | + var replies = item.replies.filter(isReply).sort(byAssertedTime) | |
184 | + var replyElements = replies.filter(displayFilter).slice(-3).map((msg) => { | |
185 | 185 | var result = api.message.html.render(msg, { |
186 | 186 | inContext: true, |
187 | 187 | inSummary: true, |
188 | 188 | previousId, |
Built with git-ssb-web