Server IP : 192.64.112.168 / Your IP : 3.22.217.176 Web Server : Apache System : Linux nc-ph-2300-85.bluforrest.com 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64 User : expressoneac ( 1128) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/expressoneac/www/wp-content/themes/woodmart/js/scripts/wc/ |
Upload File : |
!function(s){woodmartThemeModule.$document.on("wdShopPageInit",function(){woodmartThemeModule.categoriesMenuBtns(),woodmartThemeModule.categoriesMenu()}),woodmartThemeModule.categoriesMenu=function(){var e=s(".wd-nav-product-cat"),t=(1024<woodmartThemeModule.$window.width()&&e.stop().attr("style",""),200);e.each(function(){function o(){a.removeClass("wd-active"),d.removeClass("categories-opened").stop().slideUp(t)}var d=s(this),e=d.parents(".wd-nav-accordion-mb-on"),a=e.find("wd-btn-show-cat"),n=e.hasClass("wd-nav-accordion-mb-on");e.find(".wd-nav-opener").off("click").on("click",function(e){var o=s(this);e.preventDefault(),o.closest(".has-sub").find("> ul").hasClass("child-open")?o.removeClass("wd-active").closest(".has-sub").find("> ul").slideUp(t).removeClass("child-open"):o.addClass("wd-active").closest(".has-sub").find("> ul").slideDown(t).addClass("child-open"),woodmartThemeModule.$document.trigger("wood-images-loaded")}),e.find(".wd-btn-show-cat > a").off("click").on("click",function(e){e.preventDefault(),n&&(d.hasClass("categories-opened")?o():(a.addClass("wd-active"),d.addClass("categories-opened").stop().slideDown(t),woodmartThemeModule.$document.trigger("wood-images-loaded"),woodmartThemeModule.$document.trigger("wood-images-loaded")))}),e.find(".wd-nav-product-cat a").off("click").on("click",function(e){s(e.target).hasClass("wd-nav-opener")||(o(),d.stop().attr("style",""))})})},woodmartThemeModule.categoriesMenuBtns=function(){s(".wd-nav-product-cat.wd-mobile-accordion").each(function(){var e;1024<woodmartThemeModule.windowWidth||((e=s(this)).find("li > ul").parent().find(".wd-nav-opener").remove(),e.find("li > ul").parent().addClass("has-sub").append('<span class="wd-nav-opener"></span>'))})},woodmartThemeModule.$window.on("resize",woodmartThemeModule.debounce(function(){woodmartThemeModule.categoriesMenuBtns(),woodmartThemeModule.categoriesMenu()},300)),s(document).ready(function(){woodmartThemeModule.categoriesMenuBtns(),woodmartThemeModule.categoriesMenu()}),window.addEventListener("popstate",function(){woodmartThemeModule.categoriesMenuBtns(),woodmartThemeModule.categoriesMenu()})}(jQuery);