demarches-normaliennes/app/javascript/new_design/dossier.js
2018-08-13 15:17:13 +02:00

10 lines
246 B
JavaScript

import $ from 'jquery';
$(document).on('click', 'body', () => {
$('.print-menu').removeClass('open fade-in-down');
});
export function togglePrintMenu(event) {
event.stopPropagation();
$('.print-menu').toggleClass('open fade-in-down');
}