Add webpacker and use it for new_design
This commit is contained in:
parent
f13056437c
commit
bf7c023380
68 changed files with 8534 additions and 480 deletions
8
app/javascript/new_design/dossier.js
Normal file
8
app/javascript/new_design/dossier.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
$(document).on('click', 'body', () => {
|
||||
$('.print-menu').removeClass('open fade-in-down');
|
||||
});
|
||||
|
||||
export function togglePrintMenu(event) {
|
||||
event.stopPropagation();
|
||||
$('.print-menu').toggleClass('open fade-in-down');
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue