Open dropdown menu on mouse over

This commit is contained in:
2016-10-24 16:20:35 +02:00
parent bf93ace467
commit a23c1bbbf0
2 changed files with 7 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
margin-left: 10px
.dropdown-menu
top: 36px
left: initial
right: 0
padding-top: 0

View File

@@ -159,3 +159,9 @@ script.
{% endif %}
$('.js-help').openModalUrl('Help', "{{ url_for('attract.help', project_url=project.url) }}");
$('.dropdown').hover(function(){
$(this).addClass('open');
}, function(){
$(this).removeClass('open');
});