Skip to content

Commit 2f905e1

Browse files
committed
Invoke onFinished so the context menu doesn't hang around
1 parent 3977833 commit 2f905e1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/components/views/rooms/MessageContextMenu.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ module.exports = React.createClass({
5959

6060
onCancelSendClick: function() {
6161
Resend.removeFromQueue(this.props.mxEvent);
62+
if (this.props.onFinished) this.props.onFinished();
6263
},
6364

6465
render: function() {

0 commit comments

Comments
 (0)