HEX
Server: LiteSpeed
System: Linux pulsar191.sitesanctuary.org 5.14.0-284.30.1.el9.tuxcare.els9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 10 17:34:05 UTC 2025 x86_64
User: lgooir (1604)
PHP: 8.1.32
Disabled: exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/lgooir/public_html/wp-content/themes/woodmart/js/scripts/menu/menuStickyOffsets.min.js
!function(s){woodmartThemeModule.menuStickyOffsets=function(){var t=s(".wd-sticky-nav"),n=s(".wd-close-side");function o(e,o=!0){e.addClass("wd-opened"),t.addClass("wd-opened"),n.trigger("wdCloseSideAction",["show","click","wd-location-sticky-nav"]),o&&t.on("mouseout",function(){d(),t.off("mouseout")})}function d(){s(".wd-header-sticky-nav").removeClass("wd-opened"),t.removeClass("wd-opened"),n.trigger("wdCloseSideAction",["hide","click","wd-location-sticky-nav"])}s(".wd-sticky-nav .wd-nav-sticky.wd-nav-vertical").each(function(){var e=s(this),o=(e.on("mouseenter mousemove",function(){e.hasClass("wd-offsets-calculated")||(e.find("> .menu-item-has-children").each(function(){var e=s(this);e.find("> .wd-dropdown.wd-design-full-height").length||(o(e),e.find("> .wd-dropdown").length&&e.find(".menu-item.menu-item-has-children").each(function(){o(s(this))}))}),e.addClass("wd-offsets-calculated"))}),void 0!==woodmart_settings.clear_menu_offsets_on_resize&&"yes"!==woodmart_settings.clear_menu_offsets_on_resize||setTimeout(function(){woodmartThemeModule.$window.on("resize",woodmartThemeModule.debounce(function(){e.removeClass("wd-offsets-calculated"),e.find(" > .menu-item-has-children > .wd-dropdown-menu").attr("style","")},300))},2e3),function(e){var e=e.find(" > .wd-dropdown"),o=e.innerHeight(),t=e.offset().top-woodmartThemeModule.$window.scrollTop(),n=woodmartThemeModule.$window.height();e.attr("style",""),o&&t&&n<=t+o&&e.css({top:-(t+o-n)})})}),woodmartThemeModule.$document.on("click",".wd-header-sticky-nav",function(e){e.preventDefault();e=s(this);o(e,e.hasClass("wd-close-menu-mouseout"))}),woodmartThemeModule.$document.on("mouseenter mousemove",".wd-header-sticky-nav.wd-event-hover",function(){o(s(this))}),woodmartThemeModule.$document.on("click touchstart",".wd-close-side.wd-location-sticky-nav",function(){d()})},window.addEventListener("wdEventStarted",function(){setTimeout(function(){woodmartThemeModule.menuStickyOffsets()},100)})}(jQuery);