Difference between revisions of "Template:BIMATOX Project"

Line 12: Line 12:
 
window.onclick = function(e) {
 
window.onclick = function(e) {
 
   if (!e.target.matches('.dropbtn')) {
 
   if (!e.target.matches('.dropbtn')) {
     var myDropdown = document.getElementById("myDropdown");
+
     var myDropdown = document.getElementById(id);
 
       if (myDropdown.classList.contains('show')) {
 
       if (myDropdown.classList.contains('show')) {
 
         myDropdown.classList.remove('show');
 
         myDropdown.classList.remove('show');

Revision as of 07:00, 27 October 2017