git ssb

16+

Dominic / patchbay



Commit b37724d400c1859d22e995622281817db4d79249

easy to copy message id

Dominic Tarr committed on 5/17/2016, 9:39:25 PM
Parent: 9ae49c99c4e15aee20a0b51e586caccd37d33d1e

Files changed

modules/message_id.jsadded
modules/message_id.jsView
@@ -1,0 +1,10 @@
1+
2+var h = require('hyperscript')
3+
4+exports.message_meta = function (msg) {
5+ return h('input', {value: msg.key, readonly:'', onclick: function (ev) {
6+ ev.target.select()
7+ ev.stopPropagation()
8+ ev.preventDefault()
9+ }})
10+}

Built with git-ssb-web