Fixes persistent menu highlighting

Fixes #259
This commit is contained in:
Matthew Harrison-Jones 2013-07-12 16:50:21 +01:00
parent d57cea17f1
commit 390d3cc538

View File

@ -40,6 +40,9 @@
var $target = $(event.target);
if (!$target.parents().is(".overlay:visible") && !$target.is(".overlay:visible")) {
$("body").find(".overlay:visible").fadeOut();
// Toggle active classes on menu headers
$("[data-toggle].active").removeClass("active");
}
});