Merge pull request #262 from matthojo/User-Menu-Highlighting

Fixes persistent menu highlighting
This commit is contained in:
Hannah Wolfe 2013-07-13 03:10:26 -07:00
commit f699750295

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