mirror of
https://gh.wpcy.net/https://github.com/presscustomizr/hueman.git
synced 2026-04-25 16:42:59 +08:00
1 line
No EOL
641 B
JavaScript
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)}}(); |