Skip to content
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.

Commit

Permalink
Merge pull request #85 from romelgomez/master
Browse files Browse the repository at this point in the history
Add reload function to expiration function. Fixed #84 issue
  • Loading branch information
iambrosi committed Feb 17, 2016
2 parents 14cda23 + be6af41 commit 8d0507d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# IDE Files
.idea/*
angular-recaptcha.iml

# OS Files
.DS_Store
Expand Down
2 changes: 2 additions & 0 deletions demo/usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
$scope.cbExpiration = function() {
console.info('Captcha expired. Resetting response object');

vcRecaptchaService.reload($scope.widgetId);

$scope.response = null;
};

Expand Down

0 comments on commit 8d0507d

Please sign in to comment.