1jQuery(document).ready(function ($) { 2 var inter_check = setInterval(check_form, 300); 3 4 function check_form() { 5 if ($("select").length > 0) { 6 $("select").css("color", "#757575"); 7 select_drop(); 8 } 9 } 10 11 function select_drop() { 12 clearInterval(inter_check); 13 $("select").on("change", function () { 14 $(this).css("color", "#011021"); 15 }); 16 } 17 18 /*$('.related .products').slick({ 19 infinite: true, 20 slidesToShow: 4, 21 slidesToScroll: 4, 22 transform: none, 23 responsive: [ 24 { 25 breakpoint: 1024, 26 settings: { 27 slidesToShow: 2, 28 slidesToScroll: 2, 29 } 30 }, 31 { 32 breakpoint: 600, 33 settings: { 34 slidesToShow: 1, 35 slidesToScroll: 1 36 } 37 } 38 ] 39 }); 40 41 setTimeout(function () { 42 $('.related .products').slick('setPosition').slick(); 43 }, 5000); */ 44 45 if (document.querySelector(".related .products")) { 46 new Glider(document.querySelector(".related .products"), { 47 slidesToShow: 3, 48 slidesToScroll: 3, 49 draggable: true, 50 dots: "#dots", 51 arrows: { 52 prev: ".glider-prev", 53 next: ".glider-next", 54 }, 55 }); 56 } 57}); 58 59document.addEventListener("DOMContentLoaded", function () { 60 const quoteForm = document.querySelector("form.addify-quote-form"); 61 62 if (!quoteForm) { 63 return; 64 } 65 66 quoteForm.addEventListener("submit", function (event) { 67 const submitButton = quoteForm.querySelector( 68 'button[type="submit"], input[type="submit"]', 69 ); 70 71 if (quoteForm.dataset.isSubmitting === "true") { 72 event.preventDefault(); 73 event.stopImmediatePropagation(); 74 return; 75 } 76 77 quoteForm.dataset.isSubmitting = "true"; 78 79 if (submitButton) { 80 submitButton.disabled = true; 81 82 if (submitButton.tagName === "BUTTON") { 83 submitButton.textContent = "Submittingâ¦"; 84 } else { 85 submitButton.value = "Submittingâ¦"; 86 } 87 } 88 }); 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.