Line 37: | Line 37: | ||
else { $(".navigation").css("display", "");} | else { $(".navigation").css("display", "");} | ||
} else { | } else { | ||
− | if($(".navigation").hasClass("open") | + | if($(".navigation").hasClass("open")){ |
+ | if(!$(".dropdown").is(":visible")){return;} | ||
+ | } | ||
document.getElementById("navbar").style.top = "-60px"; | document.getElementById("navbar").style.top = "-60px"; | ||
$(".dropdown").addClass("nomouse"); | $(".dropdown").addClass("nomouse"); |
Latest revision as of 05:44, 13 October 2018