Browse Source

Put space before image (#1735)

closed-social-glitch-2
Rachel H 7 years ago
committed by Eugen
parent
commit
5abd543766
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/assets/javascripts/components/reducers/compose.jsx

+ 1
- 1
app/assets/javascripts/components/reducers/compose.jsx View File

@ -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() + ' ');
});
};

Loading…
Cancel
Save