#14320 closed bug (duplicate)
Calling 'ev.preventDefault()' on latest Chrome Canary (31.0.1619.0) triggers a warning
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.10.2 |
Keywords: | dbr | Cc: | |
Blocked by: | Blocking: |
Description
When using 'ev.preventDefault()', a warning shows on Chrome Canary, this happens only once:
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
Change History (10)
comment:1 Changed 10 years ago by
comment:3 Changed 10 years ago by
This happens also in :
Google Chrome : 31.0.1650.48 (OS X Version)
and Mozilla Firefox 25.0 (OS X Version)
comment:4 Changed 10 years ago by
Can confirm this is still happening in Google Chrome : 31.0.1650.48 (OS X Version)
comment:5 Changed 10 years ago by
1) Please don't post on duplicate tickets.
2) Please test with the latest version. http://code.jquery.com/jquery-git.js
comment:6 Changed 10 years ago by
Why didn't you fix this bug yet? It's clearly happening with the latest version of jQuery on any Chrome browser! That's a shame! Please fix ASAP!
jQuery is not what it used to be anymore, lots of bugs wrongly closed or wrongly marked as duplicate... STFU and fix this bug, now.
comment:7 Changed 10 years ago by
The bug is fixed in what will become 1.11/2.1. The duplicate bug ticket #14282 explains this. It also explains that older versions of jQuery will give this warning eternally.
comment:8 Changed 10 years ago by
This bug is being mentioned all over the web for the past week:
http://stackoverflow.com/questions/19978212/chrome-javascript-slider-issue
https://github.com/angular/angular.js/issues/4557
https://github.com/facebook/react/issues/538
http://wordpress.org/support/topic/calender-next-and-prev-links-not-working
IT'S ALL THE SAME BUG, different sites, different forums, different topics, but it's all the same!
PLEASE FIX A.S.A.P!!!!!!!!!!!!!!!!!!!!!
comment:9 Changed 10 years ago by
This bug has been fixed in what will become jQuery 1.11/2.1
See the duplicate ticket: http://bugs.jquery.com/ticket/14282
Further comments on this ticket will be deleted.
comment:10 Changed 10 years ago by
Keywords: | dbr added |
---|
Been working with other projects, this happens also to previous versions, haven't tested 2.0.x
Looks like the native js method 'event.returnValue' has been marked as deprecated in newer Chrome versions.