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

Checks if the default is not already prevented in the link click event #71

Merged
merged 1 commit into from Nov 5, 2014

Conversation

Projects
None yet
3 participants
@ruiramos
Contributor

ruiramos commented Nov 5, 2014

If we're preventing the default of a local link, we won't want to call navigate.
This could be solved calling stopPropagation on the other handler, but then we'll potentially lose behaviour. (needed this when using a bootstrap dropdown, handling the click on the options which are a tags)

@wraithgar

This comment has been minimized.

Show comment
Hide comment
@wraithgar
Member

wraithgar commented Nov 5, 2014

+1

@kamilogorek

This comment has been minimized.

Show comment
Hide comment
@kamilogorek

kamilogorek Nov 5, 2014

Member

+1, but I don't think it's necessary to create a new release for this small change now and it can be published along some other changes

Member

kamilogorek commented Nov 5, 2014

+1, but I don't think it's necessary to create a new release for this small change now and it can be published along some other changes

kamilogorek added a commit that referenced this pull request Nov 5, 2014

Merge pull request #71 from Ometria/master
Checks if the default is not already prevented in the link click event

@kamilogorek kamilogorek merged commit 65e9a6a into AmpersandJS:master Nov 5, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment