AlkantarClanX12

Your IP : 18.117.104.30


Current Path : /home/thanudqk/siamfreetour.com/wp-content/themes/digital-download-1/js/
Upload File :
Current File : //home/thanudqk/siamfreetour.com/wp-content/themes/digital-download-1/js/custom.min.js

/*! digital-download 1.0.8 2021-03-19 2:45:25 PM */

jQuery(document).ready(function(e){e(".site-header .form-section").on("click",function(){e(".site-header .form-section .form-holder").css("display","block"),e("body").addClass("menu-open")}),e(".form-holder .btn-form-close").on("click",function(){e(".site-header .form-section .form-holder").css("display","none"),e("body").removeClass("menu-open")}),e(".overlay").on("click",function(){e(".site-header .form-section .form-holder").css("display","none"),e("body").removeClass("menu-open")}),e(".site-header .form-section .form-holder").on("click",function(o){o.stopPropagation()});var i,o=e(window).width();o<1025&&(e("#toggle-button").on("click",function(){e("body").addClass("menu-open"),e(".mobile-navigation").addClass("open"),e(".mobile-navigation").addClass("toggled"),e("#mobile-site-navigation .primary-menu-list").addClass("toggled")}),e(".close").on("click",function(){e("body").toggleClass("menu-open"),e(".mobile-navigation").removeClass("open"),e(".mobile-navigation").removeClass("toggled"),e("#mobile-site-navigation .primary-menu-list").removeClass("toggled")}),e(".overlay").on("click",function(){e("body").removeClass("menu-open"),e(".mobile-navigation").removeClass("open"),e(".mobile-navigation").removeClass("toggled"),e("#mobile-site-navigation .primary-menu-list").removeClass("toggled")})),e('<button class="angle-down"><i class="fas fa-chevron-down"></i></button>').insertAfter(e(".mobile-navigation ul .menu-item-has-children > a")),e(".mobile-menu ul li .angle-down").on("click",function(){e(this).next().slideToggle(),e(this).toggleClass("active")}),e("#toggle-button").on("click",function(){e("body").addClass("menu-open"),e(".mobile-navigation").addClass("open"),e(".mobile-navigation").addClass("toggled"),e("#mobile-site-navigation .primary-menu-list").addClass("toggled")}),e(".close").on("click",function(){e("body").removeClass("menu-open"),e(".mobile-navigation").removeClass("open"),e(".mobile-navigation").removeClass("toggled"),e("#mobile-site-navigation .primary-menu-list").removeClass("toggled")}),e(window).on("load, resize",function(){var o=e(window).width();o<1025?e(".overlay").on("click",function(){e("body").removeClass("menu-open"),e(".mobile-navigation").removeClass("open"),e(".mobile-navigation").removeClass("toggled"),e("#mobile-site-navigation .primary-menu-list").removeClass("toggled")}):1025<o&&(e("body").removeClass("menu-open"),e(".mobile-navigation").removeClass("open"),e(".mobile-navigation").removeClass("toggled"),e("#mobile-site-navigation .primary-menu-list").removeClass("toggled"))}),1024<o&&e("#site-navigation ul li a").on("focus",function(){e(this).parents("li").addClass("focus")}).on("blur",function(){e(this).parents("li").removeClass("focus")}),e(".site-header .right .tools .cart").on("click",function(){e(".site-header .right .tools .cart .product-holder").slideToggle()}),0<e(".page-template-portfolio").length&&1==digital_download.is_rtc_active&&(i=e(".item-holder").imagesLoaded(function(){i.isotope({}),e(".filter-button-group").on("click","button",function(){e(".filter-button-group button").removeClass("is-active"),e(this).addClass("is-active");var o=e(this).attr("data-filter");i.isotope({filter:o})})}))});