mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 11:15:53 +03:00
s/var/const/
This commit is contained in:
parent
90019023c7
commit
7577d2eb05
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue