MOON
Server: Apache
System: Linux vps.erhabenn.com.br 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User: machen (1008)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /disk001/machen/www/support/wp-content/themes/astra/assets/js/minified/sticky-add-to-cart.min.js
!function(){const t=document.querySelector(".ast-sticky-add-to-cart");if(t){const o=document.querySelector(".product .single_add_to_cart_button").offsetTop;window.addEventListener("scroll",function(){window.scrollY>=o?t.classList.add("is-active"):t.classList.remove("is-active")})}const e=document.querySelector(".ast-sticky-add-to-cart-action-wrap .single_link_to_cart_button");e&&e.addEventListener("click",function(t){t.preventDefault(),document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"})})}();