Commit 6f385caf99f4e6dee5e2fbb870c283457b484fd5
whoops
Matt McKegg committed on 7/1/2017, 10:41:52 AMParent: 833e6272fdc03999e6a10c74b5adff86a11d8d39
Files changed
modules/message/html/compose.js | changed |
modules/message/html/compose.js | |||
---|---|---|---|
@@ -65,9 +65,9 @@ | |||
65 | 65 … | var spacer = embed ? '\n' : ' ' | |
66 | 66 … | if (before && !before.endsWith(spacer)) before += spacer | |
67 | 67 … | if (!after.startsWith(spacer)) after = spacer + after | |
68 | 68 … | ||
69 | - textArea.value = `${before}![${file.name}](${file.link})${after}` | ||
69 … | + textArea.value = `${before}${embed}[${file.name}](${file.link})${after}` | ||
70 | 70 … | console.log('added:', file) | |
71 | 71 … | }) | |
72 | 72 … | ||
73 | 73 … | fileInput.onclick = function () { |
Built with git-ssb-web