s/var/const/
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user