aboutsummaryrefslogtreecommitdiff
path: root/lib/serve.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-02-28 23:51:01 -0500
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-03-01 01:50:31 -0500
commitda7282dead4b8b9f339428aedbf0d882c5663dce (patch)
tree792fdec6ff5973b17f5da29ef816fe68f3029391 /lib/serve.js
parentaa81a0cc95f894b695fb2585d8dae18b086b6cfe (diff)
downloadpatchfoo-da7282dead4b8b9f339428aedbf0d882c5663dce.tar.gz
patchfoo-da7282dead4b8b9f339428aedbf0d882c5663dce.zip
Be able to dig any message
Diffstat (limited to 'lib/serve.js')
-rw-r--r--lib/serve.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/serve.js b/lib/serve.js
index 5386cbc..c2ac2ee 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -539,7 +539,7 @@ Serve.prototype.renderThreadPaginated = function (opts, feedId, q) {
}
function links(opts) {
var limit = opts.limit || q.limit || 10
- return h('tr', h('td.paginate', {colspan: 2},
+ return h('tr', h('td.paginate', {colspan: 3},
opts.forwards ? '↑ newer ' : '↓ older ',
linkA(mergeOpts(opts, {limit: 1})), ' ',
linkA(mergeOpts(opts, {limit: 10})), ' ',
@@ -917,6 +917,7 @@ Serve.prototype.composer = function (opts, cb) {
pull.once(msg),
pull.asyncMap(self.app.unboxMsg),
self.app.render.renderFeeds(raw),
+ pull.flatten(),
pull.drain(function (el) {
msgContainer.appendChild(el)
}, cb)