1 2jQuery(document).ready(function () { 3 AOS.init(); 4}); 5 6jQuery(document).ready(function () { 7 8 jQuery('.single_add_to_cart_button').click(function (){ 9 swal({ 10 title: "Erfolg!", 11 text: "Das Produkt wurde in Ihren Warenkorb gelegt.", 12 icon: "success", 13 dangerMode: false, 14 buttons: ["Weiter einkaufen", "zum Warenkorb"], 15 }).then((shopping) => { 16 if (shopping) { 17 window.location.replace("/warenkorb"); 18 } 19 }); 20 }); 21 22 jQuery('form.cart input[name=quantity]').change(function (){ 23 var that = jQuery(this); 24 var qty = that.val(); 25 var button = that.parents('form.cart').find('.single_add_to_cart_button').attr('data-quantity', qty); 26 }); 27}); 28 29 30document.addEventListener('DOMContentLoaded', function () { 31 if (!window.matchMedia('(hover: hover) and (pointer: fine)').matches) return; 32 33 var DELAY = 400; // ms 34 35 document.querySelectorAll('.links_block .links .link').forEach(function (card) { 36 var trigger = card.querySelector('.fbx-hover'); 37 if (!trigger) return; 38 39 var armed = true, timer = null; 40 41 card.addEventListener('mouseover', function (e) { 42 if (e.target.closest('.more_link')) { clearTimeout(timer); timer = null; return; } 43 if (!armed || timer) return; 44 timer = setTimeout(function () { 45 armed = false; timer = null; 46 trigger.click(); 47 }, DELAY); 48 }); 49 50 card.addEventListener('mouseleave', function () { 51 clearTimeout(timer); timer = null; armed = true; 52 }); 53 }); 54});
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.