You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
s/onClick/onChange because react cries about it
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -1052,7 +1052,7 @@ export default React.createClass({
|
|||||||
<input type="radio"
|
<input type="radio"
|
||||||
value={GROUP_JOINPOLICY_INVITE}
|
value={GROUP_JOINPOLICY_INVITE}
|
||||||
checked={this.state.joinableForm.policyType === GROUP_JOINPOLICY_INVITE}
|
checked={this.state.joinableForm.policyType === GROUP_JOINPOLICY_INVITE}
|
||||||
onClick={this._onJoinableChange}
|
onChange={this._onJoinableChange}
|
||||||
/>
|
/>
|
||||||
<div className="mx_GroupView_label_text">
|
<div className="mx_GroupView_label_text">
|
||||||
{ _t('Only people who have been invited') }
|
{ _t('Only people who have been invited') }
|
||||||
@@ -1064,7 +1064,7 @@ export default React.createClass({
|
|||||||
<input type="radio"
|
<input type="radio"
|
||||||
value={GROUP_JOINPOLICY_OPEN}
|
value={GROUP_JOINPOLICY_OPEN}
|
||||||
checked={this.state.joinableForm.policyType === GROUP_JOINPOLICY_OPEN}
|
checked={this.state.joinableForm.policyType === GROUP_JOINPOLICY_OPEN}
|
||||||
onClick={this._onJoinableChange}
|
onChange={this._onJoinableChange}
|
||||||
/>
|
/>
|
||||||
<div className="mx_GroupView_label_text">
|
<div className="mx_GroupView_label_text">
|
||||||
{ _t('Everyone') }
|
{ _t('Everyone') }
|
||||||
|
|||||||
Reference in New Issue
Block a user