Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
delete excess response in recaptchaExpiredCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
himiklab committed Jan 10, 2017
1 parent 04251f7 commit 6c7c6c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReCaptcha.php
Expand Up @@ -170,7 +170,7 @@ protected function customFieldPrepare()
if (empty($this->jsExpiredCallback)) {
$jsExpCode = "var recaptchaExpiredCallback = function(){jQuery('#{$inputId}').val('');};";
} else {
$jsExpCode = "var recaptchaExpiredCallback = function(){jQuery('#{$inputId}').val(''); {$this->jsExpiredCallback}(response);};";
$jsExpCode = "var recaptchaExpiredCallback = function(){jQuery('#{$inputId}').val(''); {$this->jsExpiredCallback}();};";
}
$this->jsExpiredCallback = 'recaptchaExpiredCallback';

Expand Down

0 comments on commit 6c7c6c4

Please sign in to comment.