diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-09-17 21:23:59 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-09-17 21:46:36 +0200 |
commit | 591185344e3a4277989c67a15174aa7b9d7d7aa0 (patch) | |
tree | 4179c21a7138a6ecef96463a0d6b4b3018085806 /app | |
parent | 221bb05cf8d30d7912fd1f860af2552ff7914fd2 (diff) |
Fix boost confirmation modal for description-less media not working
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/flavours/glitch/containers/status_container.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/containers/status_container.js b/app/javascript/flavours/glitch/containers/status_container.js index bded66d09..15eb4f85f 100644 --- a/app/javascript/flavours/glitch/containers/status_container.js +++ b/app/javascript/flavours/glitch/containers/status_container.js @@ -108,7 +108,7 @@ const mapDispatchToProps = (dispatch, { intl, contextType }) => ({ dispatch((_, getState) => { let state = getState(); if (state.getIn(['local_settings', 'confirm_boost_missing_media_description']) && status.get('media_attachments').some(item => !item.get('description')) && !status.get('reblogged')) { - dispatch(openModal('BOOST', { status, onReblog: this.handleModalReblog, missingMediaDescription: true })); + dispatch(openModal('BOOST', { status, onReblog: this.onModalReblog, missingMediaDescription: true })); } else if (e.shiftKey || !boostModal) { this.onModalReblog(status); } else { |