demarches-normaliennes/app/assets/javascripts/new_design/header.js
2017-07-03 14:34:31 +02:00

10 lines
261 B
JavaScript

window.TPS = window.TPS || {};
$(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");
}