aboutsummaryrefslogtreecommitdiff
path: root/lib/serve.js
diff options
context:
space:
mode:
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)