1// è¦åºãã®ãµãã¿ã¤ãã«ããªãå ´åã®å¦ç 2// spã®ã¿ãããã¼ãã¦ã³ãã¼ãã³ã³ãã³ã 3 4document.addEventListener("DOMContentLoaded", function() { 5 var headingElement = document.querySelector(".heading1__title"); 6 var roundBtn = document.querySelector(".round_btn"); 7 8 if (headingElement && !headingElement.classList.contains("heading1__subtitle")) { 9 headingElement.classList.add("additional-css-class"); 10 } 11 if (roundBtn) { 12 roundBtn.addEventListener("click", function() { 13 toggleClass(".sp-dl_contents", "sp-dl_close"); 14 toggleClass(".Header", "sp-head_close"); 15 toggleClass(".heading1__inner", "sp-head-padding_close"); 16 toggleClass(".heading1__title", "sp-head-padding_close"); 17 toggleClass(".header-menu-v2-wrap", "sp-padding_close"); 18 }); 19 } 20}); 21 22 23 24function toggleClass(selector, className) { 25 var elements = document.querySelectorAll(selector); 26 elements.forEach(function(element) { 27 element.classList.toggle(className); 28 }); 29} 30 31// 8/1追è¨åï¼ãããã¼æåä¿®æ£ã®ããï¼ 32(() => { 33 const btn = document.querySelector(".js-header-menu-btn"); 34 btn.addEventListener("click", () => { 35 const body = document.querySelector("body"); 36 body.style.overflow = btn.classList.contains("is-open") ? "" : "hidden"; 37 }); 38})();
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.