No ticket. Add a support note about defaultPrevented missing in Android < 4.0

This commit is contained in:
Michał Gołębiowski 2013-08-19 19:31:15 +02:00
parent 584a4af9c8
commit 215cc09067

View File

@ -633,7 +633,10 @@ jQuery.Event = function( src, props ) {
// Events bubbling up the document may have been marked as prevented // Events bubbling up the document may have been marked as prevented
// by a handler lower down the tree; reflect the correct value. // by a handler lower down the tree; reflect the correct value.
this.isDefaultPrevented = ( src.defaultPrevented || this.isDefaultPrevented = ( src.defaultPrevented ||
src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse; // Support: Android < 4.0
src.getPreventDefault && src.getPreventDefault() ) ?
returnTrue :
returnFalse;
// Event type // Event type
} else { } else {