Difference between revisions of "Template:Team:Aachen/Footer"
Line 128: | Line 128: | ||
}); | }); | ||
$(".ac-submenu").on("mouseleave", function () { | $(".ac-submenu").on("mouseleave", function () { | ||
− | setTimeout(function () { | + | var t = setTimeout(function () { |
$(".ac-submenu").hide(); | $(".ac-submenu").hide(); | ||
}, 1500); | }, 1500); | ||
+ | }); | ||
+ | $(".ac-submenu").on("mouseenter", function () { | ||
+ | clearTimeout(t); | ||
}); | }); | ||
</script> | </script> |
Revision as of 00:56, 19 September 2015