git ssb

16+

Dominic / patchbay



Commit 3814f0bab283660b1d7e93e049986e2c4c211a90

tweak how mini messages are displayed

Ev Bogue committed on 10/25/2016, 7:23:43 PM
Parent: 460131a0bdbc9d7a6ec1fb20a08198f71cf9e233

Files changed

modules/like.jschanged
modules/message.jschanged
modules/like.jsView
@@ -14,9 +14,9 @@
1414 exports.message_content_mini = function (msg, sbot) {
1515 if(msg.value.content.type !== 'vote') return
1616 var link = msg.value.content.vote.link
1717 return [
18- msg.value.content.vote.value > 0 ? 'Dug' : 'Undug',
18 + msg.value.content.vote.value > 0 ? 'dug' : 'undug',
1919 ' ', message_link(link)
2020 ]
2121 }
2222
modules/message.jsView
@@ -19,10 +19,9 @@
1919 if (elMini) {
2020 var div = h('div.message.message--mini',
2121 h('div.row',
2222 h('div',
23- avatar_link(msg.value.author, avatar_name(msg.value.author), ''),
24- ' ',
23 + avatar_link(msg.value.author, avatar_name(msg.value.author)),
2524 h('span.message_content', elMini)),
2625 h('div.message_meta.row', message_meta(msg))
2726 )
2827 )

Built with git-ssb-web