1( function( $ ) { 2 "use strict"; 3 4 jQuery(document).ready(function($){ 5 6 $('#primary-menu li.menu-item').addClass('menuhide'); 7 $('#primary-menu li.menu-item').on('click', function(){ 8 $(this).removeClass('menuhide'); 9 }); 10 11 $('.mini-toggle').on('click', function(){ 12 $(this).parent().toggleClass('menushow'); 13 }); 14 $('.single-product input.qty').each(function () { 15 $(this).number(); 16 }); 17 18 $("#besearch").on('click', function(e){ 19 e.preventDefault(); 20 $('#bspopup').addClass('popup-box-on'); 21 }); 22 23 $("#removeClass").click(function () { 24 $('#bspopup').removeClass('popup-box-on'); 25 }); 26 27 }); // document ready 28 29 $.fn.shopToolKitAccessibleDropDown = function () { 30 var el = $(this); 31 32 /* Make dropdown menus keyboard accessible */ 33 34 $("a", el).focus(function() { 35 $(this).parents("li").addClass("befocus"); 36 }).blur(function() { 37 $(this).parents("li").removeClass("befocus"); 38 }); 39 } 40 $("#primary-menu").shopToolKitAccessibleDropDown(); 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.