demarches-normaliennes/app/assets/javascripts/new_design/header.js

9 lines
229 B
JavaScript
Raw Normal View History

2017-06-22 16:45:57 +02:00
$(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");
}