diff options
author | cel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519> | 2020-10-06 20:52:42 -0400 |
---|---|---|
committer | cel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519> | 2020-10-06 20:52:42 -0400 |
commit | f4df0f3db34f03cb48c9b02771de7a4d2ac7af0b (patch) | |
tree | c74d354751f69f6bc9f2da08b74d210003f4fa92 /lib | |
parent | 8667de56c81425100b274655b183def02e92725c (diff) | |
download | patchfoo-f4df0f3db34f03cb48c9b02771de7a4d2ac7af0b.tar.gz patchfoo-f4df0f3db34f03cb48c9b02771de7a4d2ac7af0b.zip |
Hide relative time of mini messages in print view
Diffstat (limited to 'lib')
-rw-r--r-- | lib/render-msg.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js index c39825d..021d817 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -176,7 +176,7 @@ RenderMsg.prototype.wrapMini = function (content, cb) { this.recpsLine(done()), channel ? [h('a', {href: this.toUrl(channel)}, channel), ' '] : ''), h('td.msg-main', - this.date ? [h('a.ssb-timestamp', { + this.date && !this.serve.noMsgTime ? [h('a.ssb-timestamp', { title: this.date.toLocaleString(), href: this.msg.key ? this.toUrl(this.msg.key) : undefined }, htime(this.date)), ' '] : '', |