forked from bofh/fetsite
Alignment/added fix for dropdown
This commit is contained in:
@@ -13,11 +13,11 @@
|
|||||||
<% theme_stylesheet_link_tag "mod", :media=>"all" %>
|
<% theme_stylesheet_link_tag "mod", :media=>"all" %>
|
||||||
<%= javascript_include_tag "application" %>
|
<%= javascript_include_tag "application" %>
|
||||||
<%= csrf_meta_tags %>
|
<%= csrf_meta_tags %>
|
||||||
<% if content_for?(:header) %>
|
<% if content_for?(:header) %>
|
||||||
<%= yield :header %>
|
<%= yield :header %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<title>Fetsite</title>
|
<title>Fetsite</title>
|
||||||
<% end %>
|
<% end %>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
<%= link_to home_index_path do %>
|
<%= link_to home_index_path do %>
|
||||||
<!-- <span class="feticon-fet_logo fa-4x color-1"> </span>-->
|
<!-- <span class="feticon-fet_logo fa-4x color-1"> </span>-->
|
||||||
<%= image_tag('/logo2014_64.png',{:style=>"float:left;height:50px",:height=>"50"}) %>
|
<%= image_tag('/logo2014_64.png',{:style=>"float:left;height:50px",:height=>"50"}) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -62,6 +62,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<script>
|
||||||
|
$('.dropdown-toggle').click(function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
setTimeout($.proxy(function() {
|
||||||
|
if ('ontouchstart' in document.documentElement) {
|
||||||
|
$(this).siblings('.dropdown-backdrop').off().remove();
|
||||||
|
}
|
||||||
|
}, this), 0);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user