Skip to content
Snippets Groups Projects
Commit 5abd5437 authored by Rachel H's avatar Rachel H Committed by Eugen
Browse files

Put space before image (#1735)

parent 1948f9e7
No related branches found
No related tags found
No related merge requests found
......@@ -77,8 +77,8 @@ function appendMedia(state, media) {
map.update('media_attachments', list => list.push(media));
map.set('is_uploading', false);
map.set('resetFileKey', Math.floor((Math.random() * 0x10000)));
map.update('text', oldText => `${oldText.trim()} ${media.get('text_url')}`);
map.set('focusDate', new Date());
map.update('text', oldText => `${oldText.trim()} ${media.get('text_url')}`.trim() + ' ');
});
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment