git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 14aa0c908e6998e264adfa0aeba8af2113dd4286

don't contract message confirm preview

Matt McKegg committed on 12/4/2017, 5:59:31 AM
Parent: f6b15ef0c66ef8142dc6e63a6065df61a37573a2

Files changed

plugs/message/html/layout/default.jschanged
plugs/message/html/layout/default.jsView
@@ -33,8 +33,11 @@
3333
3434 var needsExpand = Value(false)
3535 var expanded = Value(false)
3636
37+ // new message previews shouldn't contract
38+ if (!msg.key) expanded.set(true)
39+
3740 if (msg.value.content.root) {
3841 classList.push('-reply')
3942 var branch = msg.value.content.branch
4043 if (branch) {

Built with git-ssb-web