1 2 3// ãã³ãã¼ã¬ã¼ã¡ãã¥ã¼ãéããå¦ç 4function closeHamburgerMenu() { 5 const hum = document.querySelector('.hum'); 6 const container = document.querySelector('.header__nav__container'); 7 const logo = document.querySelector('.header__logo__link'); 8 9 if (hum) hum.classList.remove('is-active'); 10 if (container) container.classList.remove('is-active'); 11 if (logo) logo.classList.remove('is-active'); 12} 13 14// ãã¼ã¸å ãªã³ã¯ã¯ãªãã¯ã§éããå¦ç 15document.addEventListener('click', function (e) { 16 const link = e.target.closest('.nav-main__item--sp .nav-sub__list .nav-sub__link'); 17 if (!link) return; 18 19 const href = link.getAttribute('href'); 20 // href ã https://~#link ã®ããã« # ãå«ãå ´åã®ã¿éãã 21 if (href && href.includes('#')) { 22 closeHamburgerMenu(); 23 } 24});
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.