mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
s/var/const/
This commit is contained in:
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
Block a user