Fix the desktop dropdown to not close on click
This commit is contained in:
parent
ba21da5d72
commit
8286c8130d
2 changed files with 22 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue