From f6404aeb448ac219173dc1740a026c19696ac764 Mon Sep 17 00:00:00 2001 From: cel Date: Wed, 1 Feb 2017 17:46:29 -0800 Subject: Make message id clickable --- lib/render-msg.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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), -- cgit v1.2.3