浏览代码

Put space before image (#1735)

master
Rachel H 7 年前
committed by Eugen
父节点
当前提交
5abd543766
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      app/assets/javascripts/components/reducers/compose.jsx

+ 1
- 1
app/assets/javascripts/components/reducers/compose.jsx 查看文件

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



正在加载...
取消
保存