catch ev arg so the disable stuff works
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
31d94f32f0
commit
ae91f0ca62
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ module.exports = React.createClass({
|
|||
}
|
||||
},
|
||||
|
||||
_doSubmit: function() {
|
||||
_doSubmit: function(ev) {
|
||||
let email = this.refs.email.value.trim();
|
||||
var promise = this.props.onRegisterClick({
|
||||
username: this.refs.username.value.trim() || this.props.guestUsername,
|
||||
|
|
Loading…
Reference in a new issue