From 4f7d2c86ae44e2fb51fa18604e35e3686a083e57 Mon Sep 17 00:00:00 2001 From: FuzzyBS Date: Tue, 18 Oct 2016 00:35:38 -0500 Subject: [PATCH] $.context deprecated # `$.context` deprecated as of jQuery v.1.10, removed as of jQuery v.3.0 This was the only use of the `$.context` so I changed it to `$.get(0).` which should continue to work in future versions of jQuery. --- src/modules/security.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/security.js b/src/modules/security.js index 42800e1..3785147 100644 --- a/src/modules/security.js +++ b/src/modules/security.js @@ -557,7 +557,7 @@ grecaptchaRenderCallback = []; $forms.each(function () { var $form = $(this), - config = $form.context.validationConfig || false; + config = $form.get(0).validationConfig || false; if (config) { $('[data-validation~="recaptcha"]', $form).each(function () {