mirror of https://github.com/vector-im/riot-web
catch ev arg so the disable stuff works
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
31d94f32f0
commit
ae91f0ca62
|
@ -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 New Issue