From a4259e469e0dac93e823e1e035f6b32cfdd62903 Mon Sep 17 00:00:00 2001 From: Vadim Lopatyuk Date: Mon, 28 Apr 2014 03:14:42 +0800 Subject: [PATCH] Update angular-re-captcha.js Added `reload()` reCaptcha JS function to `reCAPTCHA` service. --- angular-re-captcha.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/angular-re-captcha.js b/angular-re-captcha.js index fa58920..e82b4e3 100644 --- a/angular-re-captcha.js +++ b/angular-re-captcha.js @@ -56,6 +56,9 @@ angular.module('reCAPTCHA', []).provider('reCAPTCHA', function() { challenge: function() { return $window.Recaptcha.get_challenge(); }, + reload: function() { + return $window.Recaptcha.reload(); + }, destroy: function() { $window.Recaptcha.destroy(); }