demarches-normaliennes/app/assets/javascripts/new_design/header.js
2017-09-06 11:11:28 +02:00

8 lines
229 B
JavaScript

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