aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/render-msg.js18
1 files changed, 6 insertions, 12 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index 857c2d5..dd35b06 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -1967,19 +1967,13 @@ RenderMsg.prototype.tag = function (cb) {
if (self.c.message || self.c.root) {
self.link(self.c.root, done())
self.link(self.c.message, done())
- self.links(self.c.branch, done())
- done(function (err, rootLink, msgLink, branchLinks) {
+ done(function (err, rootLink, msgLink) {
if (err) return self.wrap(u.renderError(err), cb)
- return self.wrap(h('div',
- branchLinks.map(function (a, i) {
- return h('div', h('small', h('span.symbol', '  ↳'), ' ', a))
- }),
- h('p',
- self.c.tagged ? 'tagged ' : 'untagged ',
- msgLink,
- rootLink ? [' as ', rootLink] : ''
- ),
- ), cb)
+ return self.wrapMini([
+ self.c.tagged ? 'tagged ' : 'untagged ',
+ msgLink,
+ rootLink ? [' as ', rootLink] : ''
+ ], cb)
})
} else {
self.wrapMini('tag', cb)