kibu-australia / pushy

Clojurescript library for quick and easy HTML5 pushState
Eclipse Public License 1.0
223 stars 28 forks source link

handle _blank #2

Closed stephanos closed 9 years ago

stephanos commented 9 years ago

Opening a link in a new tab is usually done with target="_blank", but currently the click event handler just ignores this property and handles it like any other click.

I think there should be a special condition added for this. What do you think?

wavejumper commented 9 years ago

Thanks for raising this issue.

Agreed that the click event should ignore any elements with this attribute. I have updated logic in 41c52cd6137c60ca8d829419807a95958e6abfc1