mirror of https://github.com/vector-im/riot-web
s/onClick/onChange because react cries about it
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
a899871d52
commit
43681026b8
|
@ -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') }
|
||||||
|
|
Loading…
Reference in New Issue