Fixes persistent menu highlighting

Fixes #259
This commit is contained in:
Matthew Harrison-Jones 2013-07-12 16:50:21 +01:00
parent 624680bb93
commit 4d1e445dc0

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");
}
});