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

Commit be6af41

Browse files
committed
Add reload function to expiration function. Fixed #84 issue
1 parent 3ae66b7 commit be6af41

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# IDE Files
22
.idea/*
3+
angular-recaptcha.iml
34

45
# OS Files
56
.DS_Store

demo/usage.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
$scope.cbExpiration = function() {
4444
console.info('Captcha expired. Resetting response object');
4545

46+
vcRecaptchaService.reload($scope.widgetId);
47+
4648
$scope.response = null;
4749
};
4850

0 commit comments

Comments
 (0)