Skip to content

Don't use .returnValue if .defaultPrevented exists #597

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

Merged
merged 1 commit into from
Nov 27, 2013

Conversation

sophiebits
Copy link
Collaborator

.defaultPrevented exists in IE9+. I checked in IE9, Chrome, and Firefox that it does default to false.

Fixes #527.

`.defaultPrevented` exists in IE9+. I checked in IE9, Chrome, and Firefox that it does default to `false`.

Fixes facebook#527.
zpao added a commit that referenced this pull request Nov 27, 2013
Don't use .returnValue if .defaultPrevented exists
@zpao zpao merged commit 8fbdb50 into facebook:master Nov 27, 2013
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

Successfully merging this pull request may close these issues.

On newest chrome we get a warning with preventDefault()
2 participants