wrap the todo dropdown arrow in an "a" tag to make it tab-accessible

This commit is contained in:
Dan Rice 2012-09-26 16:17:07 -04:00
parent 2bdf0dba77
commit 6bf21caf22
2 changed files with 7 additions and 2 deletions

View file

@ -17,7 +17,7 @@ cache [todo, current_user.date.strftime("%Y%m%d")] do
<%= remote_toggle_checkbox(todo) %>
<%= remote_edit_button(todo) unless suppress_edit_button %>
<ul class="sf-menu sf-item-menu">
<li style="z-index:<%=@z_index_counter%>"><%= image_tag "downarrow.png", :class => "todo-submenu", :alt=> "" %>
<li style="z-index:<%=@z_index_counter%>"><a href="#" class="item-downarrow"><%= image_tag "downarrow.png", :class => "todo-submenu", :alt=> "" %></a>
<ul id="ul<%= dom_id(todo) %>" class="todo-submenu">
<li><%= remote_delete_menu_item(todo) %></li>
<% unless todo.completed? || todo.deferred? -%>
@ -47,4 +47,4 @@ cache [todo, current_user.date.strftime("%Y%m%d")] do
<div class="placeholder"> </div>
</div>
</div>
<% end %>
<% end %>