padrino/padrino-static — pull request #7 by t-yamo (2012-09-05 11:05:18+00:00)
Title: Switch e.target to this for nested elements

!= link_to url(:entry, :destroy, :eid => entry.eid), :method => :delete do
%i.icon-remove

<a href="/sample/entries/destroy/123" data-method="delete" rel="nofollow">
<i class='icon-remove' ></i>
</a>

When we click "remove icon", "e.target" is "<i class='icon-remove' />".
And it does not have "data-method" and "href".
"e.target" should be "e.currentTarget" or "this".