Merge pull request #1822 from vector-im/wmwragg/spinner-fix

Wmwragg/spinner fix
This commit is contained in:
Matthew Hodgson 2016-07-19 12:54:15 +01:00 committed by GitHub
commit 25eb2e2daf
2 changed files with 15 additions and 1 deletions

View file

@ -47,7 +47,7 @@ module.exports = React.createClass({
var ViewSource = sdk.getComponent('structures.ViewSource');
Modal.createDialog(ViewSource, {
mxEvent: this.props.mxEvent
});
}, 'mx_Dialog_viewsource');
if (this.props.onFinished) this.props.onFinished();
},