aboutsummaryrefslogtreecommitdiff
path: root/lib/render-msg.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-02-01 17:46:29 -0800
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-02-04 02:53:52 -0800
commitf6404aeb448ac219173dc1740a026c19696ac764 (patch)
treea7a19b936798de4299363afe5e8bb91228e6833e /lib/render-msg.js
parenta474a5cbbd7e6e4d58c6cb13cb566637b553862f (diff)
downloadpatchfoo-f6404aeb448ac219173dc1740a026c19696ac764.tar.gz
patchfoo-f6404aeb448ac219173dc1740a026c19696ac764.zip
Make message id clickable
Diffstat (limited to 'lib/render-msg.js')
-rw-r--r--lib/render-msg.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index c842752..be055ff 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -52,8 +52,8 @@ RenderMsg.prototype.wrap = function (content, cb) {
title: date.toLocaleString(),
href: this.msg.key ? this.toUrl(this.msg.key) : undefined
}, htime(date)), ' ',
- h('code.ssb-id',
- {href: this.toUrl(this.msg.key)}, this.msg.key),
+ h('code', h('a.ssb-id',
+ {href: this.toUrl(this.msg.key)}, this.msg.key)),
channel ? [' ', h('a', {href: this.toUrl(channel)}, channel)] : ''),
this.issues(done()),
content),