mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 11:22:19 +03:00
Merge pull request #262 from matthojo/User-Menu-Highlighting
Fixes persistent menu highlighting
This commit is contained in:
commit
f699750295
@ -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");
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user