You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Get all the nav-btns in the pageletnavBtns=document.querySelectorAll('.nav-btn');// Add an event handler for all nav-btns to enable the dropdown functionalitynavBtns.forEach(function(ele){ele.addEventListener('click',function(){// Get the dropdown-menu associated with this nav button (insert the id of your menu)letdropDownMenu=document.getElementById('MENU_ID_HERE');// Toggle the nav-btn and the dropdown menuele.classList.toggle('active');dropDownMenu.classList.toggle('active');});});
Describe the bug
当窗口缩小到出现折叠条的时候无法点击折叠条伸缩(最靠后的下拉框也无法使用)
To Reproduce
Logo
The text was updated successfully, but these errors were encountered: