Fix the desktop dropdown to not close on click

This commit is contained in:
Henne Vogelsang 2013-06-28 00:37:11 +02:00 committed by Henne Vogelsang
parent ba21da5d72
commit 8286c8130d
2 changed files with 22 additions and 6 deletions

View file

@ -9,6 +9,12 @@
= stylesheet_link_tag "application"
= javascript_include_tag "application"
= csrf_meta_tags
:javascript
$(function() {
$('.dropdown input, .dropdown label').click(function(e) {
e.stopPropagation();
});
});
= yield(:head)
%body
#wrap