mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-25 20:29:45 -04:00
Update otherDisabled
check
Fall out from #1217. We should likely change the way this is set up, it seems not ideal. But not sure the best way atm.
This commit is contained in:
parent
abcb92243b
commit
eb56b27a88
1 changed files with 1 additions and 1 deletions
|
@ -535,7 +535,7 @@ module.exports = {
|
|||
return options;
|
||||
},
|
||||
onChooseOrganization: function (name, values) {
|
||||
this.setState({otherDisabled: values.indexOf(this.organizationL10nStems.indexOf('orgChoiceOther')) === -1});
|
||||
this.setState({otherDisabled: values.indexOf(this.organizationL10nStems.length) === -1});
|
||||
},
|
||||
render: function () {
|
||||
var formatMessage = this.props.intl.formatMessage;
|
||||
|
|
Loading…
Add table
Reference in a new issue