fixing minor issues and adding unit test

This commit is contained in:
Amine Ben hammou
2017-12-26 15:21:16 +00:00
parent 1ad0dce425
commit a8052c118a
8 changed files with 39 additions and 23 deletions

View File

@@ -72,6 +72,10 @@ function ( // eslint-disable-line func-names
form.trigger('reset');
// reset validation
parsley.reset();
// reset captcha
if (window.grecaptcha) {
window.grecaptcha.reset();
}
// resize iframe
if (