change handler name to suit convention

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2018-01-10 11:51:23 +00:00
parent 05434e782a
commit a977ab9be4
No known key found for this signature in database
GPG Key ID: 3F879DA5AD802A5E
1 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ export default class Quote extends React.Component {
show: !this.props.isNested,
};
this.onShowNested = this.onShowNested.bind(this);
this.onQuoteClick = this.onQuoteClick.bind(this);
}
getChildContext() {
@ -117,7 +117,7 @@ export default class Quote extends React.Component {
this.setState({room, event});
}
onShowNested() {
onQuoteClick() {
this.setState({
show: true,
});
@ -141,7 +141,7 @@ export default class Quote extends React.Component {
}
return <div>
<a onClick={this.onShowNested} className="mx_Quote_show">{ _t('Quote') }</a>
<a onClick={this.onQuoteClick} className="mx_Quote_show">{ _t('Quote') }</a>
<br />
</div>;
}