1document.addEventListener("DOMContentLoaded", function () { 2 document.querySelectorAll('.navbar-nav.visible-xs .dropdown > a').forEach(function (el) { 3 el.addEventListener('click', function (e) { 4 e.preventDefault(); 5 6 // Ãnce tüm diÄer açık menüleri kapat 7 document.querySelectorAll('.navbar-nav.visible-xs .dropdown-menu').forEach(function (menu) { 8 if (menu !== el.nextElementSibling) { 9 menu.style.display = 'none'; 10 } 11 }); 12 13 // Sadece tıklanan elementin direkt alt menüsünü aç/kapat 14 const submenu = this.nextElementSibling; 15 if (submenu && submenu.classList.contains('dropdown-menu')) { 16 submenu.style.display = (submenu.style.display === 'block') ? 'none' : 'block'; 17 console.log('Toggled submenu:', submenu); 18 } 19 }); 20 }); 21});
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.