Difference between revisions of "Template:BIMATOX Project"

Line 30: Line 30:
 
       }
 
       }
 
     }
 
     }
 +
  }
 +
  if (!event.target.matches('.dropbtn')) {
 +
    var myDropdown = document.getElementById(id);
 +
      if (myDropdown.classList.contains('show')) {
 +
        myDropdown.classList.remove('show');
 +
      }
 
   }
 
   }
 +
}
 
}
 
}
  

Revision as of 08:01, 29 October 2017