recaptcha.min.js
414 Bytes
window.JoomlaInitReCaptcha2=function(){"use strict";for(var t,e,a=document.getElementsByClassName("g-recaptcha"),c=["sitekey","theme","type","size","tabindex","callback","expired-callback"],i={},r=0,s=a.length;r<s;r++){if((t=a[r]).dataset)i=t.dataset;else for(var d=0;d<c.length;d++)e="data-"+c[d],t.hasAttribute(e)&&(i[c[d]]=t.getAttribute(e));t.setAttribute("data-recaptcha-widget-id",grecaptcha.render(t,i))}};