aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/render-msg.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index 786294f..692d64f 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -254,7 +254,10 @@ RenderMsg.prototype.vote = function (cb) {
self.link(v, function (err, a) {
if (err) return cb(err)
self.wrapMini([
- v.value > 0 ? 'dug' : v.value < 0 ? 'downvoted' : 'undug', ' ', a], cb)
+ v.value > 0 ? 'dug' : v.value < 0 ? 'downvoted' : 'undug',
+ ' ', a,
+ v.reason ? [' as ', h('q', v.reason)] : ''
+ ], cb)
})
}