s/onClick/onChange on checkbox to make React happy
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
43681026b8
commit
fd90992294
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ export default React.createClass({
|
||||||
render() {
|
render() {
|
||||||
const GroupTile = sdk.getComponent('groups.GroupTile');
|
const GroupTile = sdk.getComponent('groups.GroupTile');
|
||||||
const input = <input type="checkbox"
|
const input = <input type="checkbox"
|
||||||
onClick={this._onPublicityToggle}
|
onChange={this._onPublicityToggle}
|
||||||
checked={this.state.isGroupPublicised}
|
checked={this.state.isGroupPublicised}
|
||||||
/>;
|
/>;
|
||||||
const labelText = !this.state.ready ? _t("Loading...") :
|
const labelText = !this.state.ready ? _t("Loading...") :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue