PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.7.1
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.7.1
1.7.1 1.7.0 1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 All 51 releases
← All changes | assets/global.js +1 -1 1.6.0 → 1.7.1 View file →
@@ -1 +1 @@
1 -document.addEventListener("DOMContentLoaded",function(){const n=document.querySelector("[data-fct-menu-toggle]");if(!n)return;const o=n.parentNode,t=o.querySelector("[data-fct-offcanvas-menu]"),c=o.querySelector("[data-fct-offcanvas-menu-close]"),e=o.querySelector("[data-fct-offcanvas-menu-overlay]"),a=()=>{e&&e.classList.remove("active"),t&&t.classList.remove("open"),document.body.style.overflow=""};n.addEventListener("click",()=>{!t||!e||(e.classList.toggle("active"),t.classList.toggle("open"),document.body.style.overflow="hidden")}),c&&c.addEventListener("click",a),e&&e.addEventListener("click",a)});
1 +document.addEventListener("DOMContentLoaded",function(){const n=document.querySelector("[data-fct-menu-toggle]");if(!n)return;const o=n.parentNode,t=o.querySelector("[data-fct-offcanvas-menu]"),a=o.querySelector("[data-fct-offcanvas-menu-close]"),e=o.querySelector("[data-fct-offcanvas-menu-overlay]"),c=()=>{e&&e.classList.remove("active"),t&&t.classList.remove("open"),document.body.style.overflow=""};n.addEventListener("click",()=>{!t||!e||(e.classList.toggle("active"),t.classList.toggle("open"),document.body.style.overflow="hidden")}),a&&a.addEventListener("click",c),e&&e.addEventListener("click",c),window.addEventListener("hashchange",c)});