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

Never use empty href in links #27

Closed
wants to merge 1 commit into from

Conversation

ambroisemaupate
Copy link
Contributor

Using Markitup in an Ajax environment, I have to exclude Markitup buttons from Ajax navigation using their href value. But…

Doing a console.log(event.currentTarget.href); would output window.location.href value instead of nothing. So I had to set every button href to "#" preventing this weird behaviour.

(My grunt setup created a minified version, you can get rid of it)

jaysalvat added a commit that referenced this pull request Jun 2, 2014
@jaysalvat
Copy link
Collaborator

Thanks for your contribution.
Merged on master.

I will release a version soon.

@jaysalvat jaysalvat closed this Jun 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants