mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
parent
624680bb93
commit
4d1e445dc0
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,9 @@
|
||||||
var $target = $(event.target);
|
var $target = $(event.target);
|
||||||
if (!$target.parents().is(".overlay:visible") && !$target.is(".overlay:visible")) {
|
if (!$target.parents().is(".overlay:visible") && !$target.is(".overlay:visible")) {
|
||||||
$("body").find(".overlay:visible").fadeOut();
|
$("body").find(".overlay:visible").fadeOut();
|
||||||
|
|
||||||
|
// Toggle active classes on menu headers
|
||||||
|
$("[data-toggle].active").removeClass("active");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue