m |
m |
||
Line 104: | Line 104: | ||
} | } | ||
+ | /* when i click on the x, that is technically also clicking on the li */ | ||
function closeSubmenus() { | function closeSubmenus() { | ||
− | |||
for(i = 0; i < dropdownContent.length; i++) { | for(i = 0; i < dropdownContent.length; i++) { | ||
dropdownContent[i].style.visibility = "hidden"; | dropdownContent[i].style.visibility = "hidden"; |
Revision as of 01:42, 21 July 2020