Commit 85078b40 authored by JC Brand's avatar JC Brand

Use `change` event instead of `blur`.

This solves a bug whereby switching to the register form doesn't happen because
validation gets triggered which somehow prevents it.
parent f1519bed
......@@ -462,7 +462,7 @@
className: 'controlbox-pane fade-in',
events: {
'submit form#converse-login': 'authenticate',
'blur input': 'validate'
'change input': 'validate'
},
initialize (cfg) {
......
......@@ -403,9 +403,6 @@
return form;
},
showRegistrationForm () {
},
showSpinner () {
const form = this.el.querySelector('form');
form.innerHTML = tpl_spinner();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment