mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
No ticket. Add a support note about defaultPrevented missing in Android < 4.0
This commit is contained in:
parent
584a4af9c8
commit
215cc09067
@ -633,7 +633,10 @@ jQuery.Event = function( src, props ) {
|
||||
// Events bubbling up the document may have been marked as prevented
|
||||
// by a handler lower down the tree; reflect the correct value.
|
||||
this.isDefaultPrevented = ( src.defaultPrevented ||
|
||||
src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse;
|
||||
// Support: Android < 4.0
|
||||
src.getPreventDefault && src.getPreventDefault() ) ?
|
||||
returnTrue :
|
||||
returnFalse;
|
||||
|
||||
// Event type
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user