Mobile top nav: lang dropdown, docs columns, polish

This commit is contained in:
mDuo13
2021-06-22 19:49:52 -07:00
parent b648ad8633
commit 372d8b7570
5 changed files with 157 additions and 123 deletions

View File

@@ -18,12 +18,8 @@ $(document).ready(function() {
// Code to make other menu items hide on mobile when we expand one
$("#topnav-pages .dropdown").on("show.bs.dropdown", (evt) => {
$("#top-main-nav").addClass("submenu-expanded")
// $("#topnav-pages .dropdown:not(.show) .dropdown-toggle").hide()
// $("#topnav-search").hide()
})
$("#topnav-pages .dropdown").on("hidden.bs.dropdown", (evt) => {
$("#top-main-nav").removeClass("submenu-expanded")
// $("#topnav-pages .dropdown .dropdown-toggle").show()
// $("#topnav-search").show()
})
});