diff --git a/public/js/vroom.js b/public/js/vroom.js index c49516f..9e23548 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -9,6 +9,14 @@ $.notify.defaults( { globalPosition: 'bottom left' } ); // Enable tooltip on required elements $('.help').tooltip({container: 'body'}); +// Animation on dropdown menus +$('.dropdown').on('show.bs.dropdown', function(e){ + $(this).find('.dropdown-menu').first().stop(true, true).slideDown(150); +}); +$('.dropdown').on('hide.bs.dropdown', function(e){ + $(this).find('.dropdown-menu').first().stop(true, true).slideUp(150); +}); + // Strings we need translated var locale = { ERROR_MAIL_INVALID: '', diff --git a/templates/default/join.html.ep b/templates/default/join.html.ep index a9ac0e8..a9ddc3f 100644 --- a/templates/default/join.html.ep +++ b/templates/default/join.html.ep @@ -55,7 +55,7 @@