1;(function ($) { 2 3 "use strict"; 4 5 $(document).ready(function () { 6 7 $('.widget_product_search .search-field').find("input[type='text']").each(function (ev) { 8 if (!$(this).val()) { 9 $(this).attr("placeholder", "Search and Press Enter"); 10 } 11 }); 12 13 $('.product-layout-list').parents('ul.products').addClass('products-list'); 14 $('.single_variation_wrap').addClass('clearfix'); 15 $('.woocommerce-variation-add-to-cart').addClass('clearfix'); 16 17 $('.cart-total-wrap').on('click', function () { 18 $('.widget-cart-sidebar').toggleClass('open'); 19 $(this).toggleClass('cart-open'); 20 $('.site-overlay').toggleClass('open'); 21 }); 22 23 $('.site-overlay').on('click', function () { 24 $(this).removeClass('open'); 25 $(this).parents('#page').find('.widget-cart-sidebar').removeClass('open'); 26 }); 27 28 $('.woocommerce-tab-heading').on('click', function () { 29 $(this).toggleClass('open'); 30 $(this).parent().find('.woocommerce-tab-content').slideToggle(''); 31 }); 32 33 $('.site-menu-right .h-btn-cart, .mobile-menu-cart .h-btn-cart').on('click', function (e) { 34 e.preventDefault(); 35 $(this).parents('#ct-header-wrap').find('.widget_shopping_cart').toggleClass('open'); 36 $('.ct-hidden-sidebar').removeClass('open'); 37 $('.ct-search-popup').removeClass('open'); 38 }); 39 40 }); 41 42})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.