Commit cd20635efd5ca1dc24c6489d7fcd169523f749bc
Pass pageId to message renders for patch-gatherings
Piet Geursen committed on 5/18/2017, 8:40:34 AMParent: e1c6c9fbe156d68582d7586b3a31771ecbf18e83
Files changed
modules/page/html/render/message.js | changed |
modules/page/html/render/message.js | ||
---|---|---|
@@ -59,9 +59,9 @@ | ||
59 | 59 | h('div.messages', [ |
60 | 60 | when(thread.branchId, h('a.full', {href: thread.rootId}, ['View full thread'])), |
61 | 61 | map(thread.messages, (msg) => { |
62 | 62 | return computed([msg, thread.previousKey(msg)], (msg, previousId) => { |
63 | - return api.message.html.render(msg, {previousId, backlinks: true}) | |
63 | + return api.message.html.render(msg, {pageId: id, previousId, backlinks: true}) | |
64 | 64 | }) |
65 | 65 | }) |
66 | 66 | ]), |
67 | 67 | compose |
Built with git-ssb-web