PageSourceSearch

https://www.joelandsonfabrics.com/cdn/shop/t/451/assets/mobile-gender-navigation.2XFAPxHw.min.js

js joelandsonfabrics.com collected 2026-10-02 11:17:21 UTC 771 bytes, 1 lines download raw bytes

1class n extends HTMLElement{constructor(){super(),this.linkEls=this.querySelectorAll("[data-gender]")}connectedCallback(){this.linkEls.forEach(e=>{e.addEventListener("click",this.onLinkClick.bind(this))})}onLinkClick(e){e.preventDefault();const{gender:a}=e.target.dataset;document.querySelectorAll("[data-gender-menu]").forEach(t=>{t.classList.remove("active")}),document.querySelector(`[data-gender-menu="${a}"]`).classList.add("active"),this.linkEls.forEach(t=>{t.classList.remove("active")}),e.target.classList.add("active");try{fetch(`${window.Shopify.routes.root}cart/update.js`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({attributes:{gender:a}})})}catch(t){console.error(t)}}}customElements.define("mobile-gender-navigation",n);

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.