mirror of https://github.com/vector-im/riot-web
s/var/const/
parent
90019023c7
commit
7577d2eb05
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue