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

9 lines
228 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");
});
2018-02-28 16:07:52 +01:00
DS.toggleHeaderMenu = function(event) {
2017-06-22 16:45:57 +02:00
event.stopPropagation();
$(".header-menu").toggleClass("open fade-in-down");
}