Fix selector for cancel button.

This commit is contained in:
JC Brand 2016-12-19 08:17:04 +00:00
parent a95fbcc0f8
commit cbf9617734
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
## 2.0.5
- #755: create composer.json to add this project in packagist.org [fabiomontefuscolo]
- Bugfix. Cancel button shown while registration form is being fetched wasn't working
properly. [jcbrand]
## 2.0.4 (2016-12-13)
- #737: Bugfix. Translations weren't being applied. [jcbrand]

View File

@ -235,7 +235,7 @@
cancel: __('Cancel'),
info_message: __('Requesting a registration form from the XMPP server')
}));
$form.find('button.cancel').on('click', this.cancelRegistration.bind(this));
$form.find('button.button-cancel').on('click', this.cancelRegistration.bind(this));
this.reset({
domain: Strophe.getDomainFromJid(domain),
_registering: true