primo commit
This commit is contained in:
5
media/plg_captcha_recaptcha/js/recaptcha.min.js
vendored
Normal file
5
media/plg_captcha_recaptcha/js/recaptcha.min.js
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
/**
|
||||
* @package Joomla.JavaScript
|
||||
* @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/((c,r)=>{c.JoomlainitReCaptcha2=()=>{const o=["sitekey","theme","size","tabindex","callback","expired-callback","error-callback"];r.querySelectorAll(".g-recaptcha").forEach(t=>{let a={};t.dataset?a=t.dataset:o.forEach(e=>{const i=`data-${e}`;t.hasAttribute(i)&&(a[e]=t.getAttribute(i))}),t.setAttribute("data-recaptcha-widget-id",c.grecaptcha.render(t,a))})}})(window,document);
|
||||
Reference in New Issue
Block a user