PageSourceSearch

https://www.jeanpeau.com/wp-content/themes/jp/theme/js/b4st.js

js jeanpeau.com collected 2026-10-09 03:57:43 UTC 1,699 bytes, 55 lines download raw bytes

1/**!
2 * b4st JS
3 */
4
5(function ($) {
6
7	'use strict';
8
9	$(document).ready(function() {
10
11		// Comments
12
13		$('.commentlist li').addClass('card');
14		$('.comment-reply-link').addClass('btn btn-secondary');
15
16		// Forms
17
18		$('select, input[type=text], input[type=email], input[type=search], input[type=password], input[type=tel], textarea').addClass('form-control');
19		$('input[type=submit]').addClass('btn btn-primary');
20
21		// Pagination fix for ellipsis
22
23		$('.pagination .dots').addClass('page-link').parent().addClass('disabled');
24        
25        $('.product-categories > li > a').append("<i class='fa fa-angle-right'></i>");
26        
27        
28
29		// You can put your own code in here
30        $('#accordion .collapse')
31            .collapse()
32            .on('shown.bs.collapse', function() {
33                if ($(this).parent().find('svg').attr('data-icon') == 'minus-square' ) {
34                    $(this).parent().find('svg').attr('data-icon', 'plus-square');
35                } else {
36                    $(this).parent().find('svg').attr('data-icon', 'minus-square');
37                }
38            })
39            .on('hidden.bs.collapse', function() {
40                if ($(this).parent().find('svg').attr('data-icon') == 'plus-square' ) {
41                    $(this).parent().find('svg').attr('data-icon', 'minus-square');
42                } else {
43                    $(this).parent().find('svg').attr('data-icon', 'plus-square');
44                }
45            });
46        
47         jQuery(function($){
48            $( ".variations_form" ).on( "woocommerce_variation_select_change", function () {
49                jQuery("[name='quantity']").val(1);
50            } )
51        });
52
53	});
54
55}(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.