HEX
Server: LiteSpeed
System: Linux linux31.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: salamatk (1501)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/salamatk/takarzan.ir/wp-content/themes/xts-luman/js/scripts/menuClickEvent.min.js
(n=>{XTSThemeModule.xtsElementorAddAction("frontend/element_ready/xts_mega_menu.default",function(){XTSThemeModule.menuClickEvent()}),XTSThemeModule.menuClickEvent=function(){var t=n(".xts-header .xts-nav-main, .xts-header .xts-nav-secondary, .elementor-widget-xts_mega_menu .xts-nav-mega, .xts-sticky-cats .xts-nav-sticky-cat");t.on("click"," > .xts-event-click > a",function(e){e.preventDefault();e=n(this);e.parent().hasClass("xts-opened")||t.find("> .xts-opened").removeClass("xts-opened"),e.parent().toggleClass("xts-opened")}),XTSThemeModule.$document.on("click",function(e){e=e.target;0<t.find("> .xts-opened").length&&!n(e).is(".xts-event-hover")&&!n(e).parents().is(".xts-event-hover")&&!n(e).parents().is(".xts-opened")&&(t.find("> .xts-opened").removeClass("xts-opened"),n(".xts-close-side").removeClass("xts-opened").removeClass("xts-location-header"))}),XTSThemeModule.$window.on("resize",XTSThemeModule.debounce(function(){XTSThemeModule.isTablet()?t.find(" > .menu-item-has-children.xts-event-hover").each(function(){n(this).data("original-event","hover").removeClass("xts-event-hover").addClass("xts-event-click")}):t.find(" > .xts-event-click").each(function(){var e=n(this);"hover"===e.data("original-event")&&e.removeClass("xts-event-click").addClass("xts-event-hover")})},300))},n(document).ready(function(){XTSThemeModule.menuClickEvent()})})(jQuery);