PageSourceSearch

https://www.sylvaniachamber.org/wp-content/themes/bizberg/inc/woocommerce/woocommerce.js?ver=0.2

js sylvaniachamber.org collected 2026-09-29 21:49:29 UTC 2,465 bytes, 89 lines download raw bytes

1jQuery(window).on( 'load resize', function(){
2
3	setTimeout(function(){ 
4
5		if( jQuery(window).width() > 567 && !jQuery('.products').hasClass('related') ){
6			jQuery('.products').masonry({
7	           itemSelector: '.product',
8	           transitionDuration: 0
9	        }); 
10		}       
11
12    }, 1000); 
13
14});
15
16jQuery( document ).on( 'click' , '.bizberg-shop-quantity button.plus', function(){
17
18	var cart_quantity_input = jQuery(this).closest('.bizberg-shop-quantity').find('input');
19
20	var input_quantity;
21	if( jQuery.isNumeric( cart_quantity_input.val() ) ){
22		input_quantity = cart_quantity_input.val();
23	} else {
24		input_quantity = 0;
25	}
26
27	var max = cart_quantity_input.attr( 'max' );
28	if( jQuery.isNumeric( max ) ){
29		max = max;
30	} else {
31		max = 99999;
32	}
33
34	cart_quantity = parseInt( input_quantity ) + 1;
35
36	if( cart_quantity <= max ){
37		cart_quantity_input.val( cart_quantity );
38	}
39
40	jQuery('.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]').prop( 'disabled' , false );
41
42});
43
44jQuery( document ).on( 'click' , '.bizberg-shop-quantity button.minus', function(){
45
46	var cart_quantity_input = jQuery(this).closest('.bizberg-shop-quantity').find('input');
47
48	var min = cart_quantity_input.attr( 'min' );
49	if( jQuery.isNumeric( min ) ){
50		min = min;
51	} else {
52		min = 0;
53	}
54
55	var input_quantity;
56	if( jQuery.isNumeric( cart_quantity_input.val() ) ){
57		input_quantity = cart_quantity_input.val();
58	} else {
59		input_quantity = 0;
60	}
61
62	cart_quantity = parseInt( input_quantity ) - 1;
63
64	if( cart_quantity >= min ){
65		cart_quantity_input.val( cart_quantity );
66	}
67
68	jQuery('.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]').prop( 'disabled' , false );
69	
70});
71
72jQuery(document).ready(function(){
73   	jQuery('[data-toggle="tooltip"]').tooltip();   
74});
75
76jQuery(document).on( 'click', '.menu-ham', function () {
77    jQuery('.menu').animate({right: '0px'}, 50)
78    jQuery('.header_sidemenu_in .overlay').addClass('show').removeClass('hide');
79});
80
81jQuery(document).on( 'click', '.close-menu', function () {
82    jQuery('.menu').animate({right: '-500px'}, 50)
83    jQuery('.header_sidemenu_in .overlay').addClass('hide').removeClass('show');
84});
85
86jQuery(document).on( 'click', '.header_sidemenu_in .overlay', function () {
87    jQuery('.header_sidemenu_in .overlay').addClass('hide').removeClass('show');
88    jQuery('.menu').animate({right: '-500px'}, 50)
89});

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.