Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 13.59.123.68
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : menuDropdownsAJAX.min.js
!function(n){woodmartThemeModule.menuDropdownsAJAX=function(){woodmartThemeModule.$body.on("mousemove",function(){n(".menu").has(".dropdown-load-ajax").each(function(){var o=n(this);if(!o.hasClass("dropdowns-loading")&&!o.hasClass("dropdowns-loaded")){var d=o,a=(d.addClass("dropdowns-loading"),woodmart_settings.menu_storage_key+"_"+d.attr("id")),o=!1,e=d.find(".dropdown-load-ajax"),t=[];if(e.each(function(){t.push(n(this).find(".dropdown-html-placeholder").data("id"))}),woodmart_settings.ajax_dropdowns_save&&woodmartThemeModule.supports_html5_storage){e=localStorage.getItem(a);try{o=JSON.parse(e)}catch(o){console.log("cant parse Json",o)}}function s(o){Object.keys(o).forEach(function(a){woodmartThemeModule.removeDuplicatedStylesFromHTML(o[a],function(o){d.find('[data-id="'+a+'"]').replaceWith(o),d.addClass("dropdowns-loaded"),setTimeout(function(){d.removeClass("dropdowns-loading")},1e3)})}),woodmartThemeModule.$document.trigger("wdLoadDropdownsSuccess")}o?s(o):n.ajax({url:woodmart_settings.ajaxurl,data:{action:"woodmart_load_html_dropdowns",ids:t},dataType:"json",method:"POST",success:function(o){if("success"===o.status){if(s(o.data),woodmart_settings.ajax_dropdowns_save&&woodmartThemeModule.supports_html5_storage)try{localStorage.setItem(a,JSON.stringify(o.data))}catch(o){}}else console.log("loading html dropdowns returns wrong data - ",o.message)},error:function(){console.log("loading html dropdowns ajax error")}})}})})},n(document).ready(function(){woodmartThemeModule.menuDropdownsAJAX()})}(jQuery);
© 2025 GrazzMean-Shell