www/js/dropdown.js
/* When called, toggle between hiding and showing the main dropdown */
When called, toggle between hiding and showing the main dropdown
When called toggle between hiding and showing the main dropdown
function mainDropDownFunction() {
  var mainDropdown = document.getElementById('mainDropdown');
  if (mainDropdown.classList.contains('dropshow')) {
    closeAllDropDowns();
  }
  else {
    mainDropdown.classList.toggle('dropshow');
  }
  document.getElementById('cmd').focus();
}
function mainDropDownFunction ( ) { var mainDropdown = document . getElementById ( 'mainDropdown' ) ; if ( mainDropdown . classList . contains ( 'dropshow' ) ) { closeAllDropDowns ( ) ; } else { mainDropdown . classList . toggle ( 'dropshow' ) ; } document . getElementById ( 'cmd' ) . focus ( ) ; }
When called, toggle between hiding and showing the main dropdown
When called toggle between hiding and showing the main dropdown
// if the main dropdown is going to be closed, close ALL dropdowns // otherwise just toggle the main dropdown visibility