Put space before image (#1735)

lolsob-rspec
Rachel H 2017-04-21 11:06:25 -07:00 committed by Eugen
parent 542c134ed4
commit eeb170e1e4
1 changed files with 1 additions and 1 deletions

View File

@ -77,8 +77,8 @@ function appendMedia(state, media) {
map.update('media_attachments', list => list.push(media)); map.update('media_attachments', list => list.push(media));
map.set('is_uploading', false); map.set('is_uploading', false);
map.set('resetFileKey', Math.floor((Math.random() * 0x10000))); map.set('resetFileKey', Math.floor((Math.random() * 0x10000)));
map.update('text', oldText => `${oldText.trim()} ${media.get('text_url')}`);
map.set('focusDate', new Date()); map.set('focusDate', new Date());
map.update('text', oldText => `${oldText.trim()} ${media.get('text_url')}`.trim() + ' ');
}); });
}; };