s/var/const/

This commit is contained in:
Richard van der Hoff 2016-11-17 10:51:09 +00:00
parent 90019023c7
commit 7577d2eb05

View file

@ -53,7 +53,7 @@ module.exports = React.createClass({
},
onViewClearSourceClick: function() {
var ViewSource = sdk.getComponent('structures.ViewSource');
const ViewSource = sdk.getComponent('structures.ViewSource');
Modal.createDialog(ViewSource, {
// FIXME: _clearEvent is private
content: this.props.mxEvent._clearEvent,