aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-03-10 18:27:54 -0500
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-03-13 22:11:06 -0400
commitc97aacfa635f083c3d435d1834036fca2f6225f9 (patch)
tree1d4b479bb4c2434e9036c624b5b1e90452a90a6a
parent02cc78da9251b2ffd896dbf06bbb48e36160edbc (diff)
downloadpatchfoo-c97aacfa635f083c3d435d1834036fca2f6225f9.tar.gz
patchfoo-c97aacfa635f083c3d435d1834036fca2f6225f9.zip
fix previewing messages
-rw-r--r--lib/serve.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/serve.js b/lib/serve.js
index 8885704..504c633 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -953,9 +953,8 @@ 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)
+ msgContainer.appendChild(h('tbody', el))
}, cb)
)
return [