Bind click to li, to prevent click on row but outside of a tag.
This commit is contained in:
parent
b28663d331
commit
b751d25c19
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
</div>
|
</div>
|
||||||
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="userAction">
|
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="userAction">
|
||||||
<% for item in @items: %>
|
<% for item in @items: %>
|
||||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="#" data-type="<%= item.name %>"><%- @T( item.title ) %></a>
|
<li role="presentation" data-type="<%= item.name %>"><a role="menuitem" tabindex="-1" href="#"><%- @T( item.title ) %></a>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
Loading…
Reference in a new issue