Commit 14aa0c908e6998e264adfa0aeba8af2113dd4286
don't contract message confirm preview
Matt McKegg committed on 12/4/2017, 5:59:31 AMParent: f6b15ef0c66ef8142dc6e63a6065df61a37573a2
Files changed
plugs/message/html/layout/default.js | changed |
plugs/message/html/layout/default.js | ||
---|---|---|
@@ -33,8 +33,11 @@ | ||
33 | 33 | |
34 | 34 | var needsExpand = Value(false) |
35 | 35 | var expanded = Value(false) |
36 | 36 | |
37 | + // new message previews shouldn't contract | |
38 | + if (!msg.key) expanded.set(true) | |
39 | + | |
37 | 40 | if (msg.value.content.root) { |
38 | 41 | classList.push('-reply') |
39 | 42 | var branch = msg.value.content.branch |
40 | 43 | if (branch) { |
Built with git-ssb-web