1(function($) { 2 3 $(document).ready(function() { 4 5 if ($(".term-menu").length > 0) { 6 7 // console.log('block-archive-taxonomy-terms'); 8 9 $(".term-menu a").on("click", function(event) { 10 event.preventDefault(); 11 // console.log('click'); 12 // Get the target section's ID from the href attribute 13 const targetId = $(this).attr("href"); 14 15 // Use GSAP to smoothly scroll to the target section 16 gsap.to(window, { duration: 1, scrollTo: { y: targetId, offsetY: 50 } }); 17 }); 18 19 } 20 21 }) 22 23})(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.