Line 45: | Line 45: | ||
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"); |
Revision as of 05:57, 13 October 2018