demarches-normaliennes/app/assets/javascripts/new_design/header.js
2018-03-01 10:33:53 +01:00

8 lines
228 B
JavaScript

$(document).on("click", "body", function () {
$(".header-menu").removeClass("open fade-in-down");
});
DS.toggleHeaderMenu = function(event) {
event.stopPropagation();
$(".header-menu").toggleClass("open fade-in-down");
}