From be6af41adda9fd480b98cbfd004100080ad93e01 Mon Sep 17 00:00:00 2001 From: romelgomez Date: Tue, 22 Sep 2015 05:37:03 -0430 Subject: [PATCH] Add reload function to expiration function. Fixed #84 issue --- .gitignore | 1 + demo/usage.html | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 873830e..4f980eb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # IDE Files .idea/* +angular-recaptcha.iml # OS Files .DS_Store diff --git a/demo/usage.html b/demo/usage.html index f81e45f..0180e32 100644 --- a/demo/usage.html +++ b/demo/usage.html @@ -43,6 +43,8 @@ $scope.cbExpiration = function() { console.info('Captcha expired. Resetting response object'); + vcRecaptchaService.reload($scope.widgetId); + $scope.response = null; };