Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work for nested elements #3

Open
finnp opened this issue May 3, 2015 · 0 comments
Open

Doesn't work for nested elements #3

finnp opened this issue May 3, 2015 · 0 comments

Comments

@finnp
Copy link

finnp commented May 3, 2015

Hey,

right now if you have something like this

<a href="#"><img src="..."/></a>

it will not fire for a a selector. Because the event target will be the image.

maybe this module: https://www.npmjs.com/package/closest should be used as it is in the orignal delegate module: delegte https://github.com/component/delegate/blob/master/index.js

Best,
Finn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant