hueman/assets/front/js/hu-init.min.js
2020-03-15 17:38:56 +01:00

1 line
No EOL
641 B
JavaScript

!function(){var a=!1;_load=function(){a||jQuery(function(){var b=document.getElementsByTagName("head")[0],c=document.createElement("script");c.setAttribute("src",HUParams.mainScriptUrl),c.setAttribute("id","tc-scripts"),c.setAttribute("defer","defer"),b&&b.appendChild(c),a=!0})};var b=function(a){a=a||0,"undefined"!=typeof window.jQuery?_load():a<30?setTimeout(function(){a++,b(a)},200):alert("Hueman theme problem : jQuery.js was not detected on your website")},c=document.querySelectorAll('[src*="wp-includes/js/jquery/jquery.js"]');c[0]&&c[0].addEventListener("load",function(){b()});try{b()}catch(d){console.log("hu-init error",d)}}();