Hacker News new | ask | show | jobs
A JavaScript Curiosity Regarding addEventListener (drunkenfist.com)
3 points by rob_react 6286 days ago
3 comments

It looks like standard behaviour defined by event cancelation and default actions in the W3C DOM2 Events spec. Whether this is cross-browser or not isn't obvious. Suppressing default actions with event.preventDefault() seems to work in Firefox, at least.
The answer is in the comments on the blog post already.
Post this on stackoverflow