# fluent-cart/1.3.26/assets/global.js

FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler, version 1.3.26. 2 lines.

- Page: https://pluginprobe.com/plugins/fluent-cart/1.3.26/code/assets/global.js
- Raw: https://pluginprobe.com/plugins/fluent-cart/1.3.26/raw/assets/global.js
- Modified: 2026-01-23T12:08:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-cart/1.3.26/code/assets/global.js#L10-L20`.

```javascript
document.addEventListener("DOMContentLoaded",function(){const c=document.querySelector("[data-fct-menu-toggle]"),o=c.parentNode,e=o.querySelector("[data-fct-offcanvas-menu]"),n=o.querySelector("[data-fct-offcanvas-menu-close]"),t=o.querySelector("[data-fct-offcanvas-menu-overlay]");c.addEventListener("click",()=>{e&&(t.classList.toggle("active"),e.classList.toggle("open"),document.body.style.overflow="hidden")}),n.addEventListener("click",()=>{e&&(t.classList.remove("active"),e.classList.remove("open"),document.body.style.overflow="")}),t.addEventListener("click",()=>{e&&(t.classList.remove("active"),e.classList.remove("open"),document.body.style.overflow="")})});

```
