Commit 47cb0a2a7a392108766dce2b73fc58b705c8174d
make sure mini messages are always valid dom nodes
Ev Bogue committed on 6/22/2018, 5:10:09 PMParent: f5dc464093a9857f6d9410c8dac617b5c4e435cd
Files changed
tools.js | changed |
tools.js | ||
---|---|---|
@@ -343,9 +343,9 @@ | ||
343 | 343 | ) |
344 | 344 | var lock = h('span.right', h('img.emoji', {src: config.emojiUrl + 'lock.png'})) |
345 | 345 | |
346 | 346 | |
347 | - mini.appendChild(content) | |
347 | + mini.appendChild(h('span', content)) | |
348 | 348 | mini.appendChild(exports.timestamp(msg)) |
349 | 349 | |
350 | 350 | if (msg.value.content.recps) { |
351 | 351 | mini.appendChild(lock) |
Built with git-ssb-web