first commit
This commit is contained in:
1
media/plg_captcha_recaptcha/js/recaptcha.min.js
vendored
Normal file
1
media/plg_captcha_recaptcha/js/recaptcha.min.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
((t,a)=>{t.JoomlainitReCaptcha2=()=>{const e=[].slice.call(a.getElementsByClassName("g-recaptcha")),c=["sitekey","theme","size","tabindex","callback","expired-callback","error-callback"];e.forEach((a=>{let e={};a.dataset?e=a.dataset:c.forEach((t=>{const c=`data-${t}`;a.hasAttribute(c)&&(e[t]=a.getAttribute(c))})),a.setAttribute("data-recaptcha-widget-id",t.grecaptcha.render(a,e))}))}})(window,document);
|
||||
Reference in New Issue
Block a user