aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/event.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event.js b/src/event.js
index b08fde6a7..f38d70a40 100644
--- a/src/event.js
+++ b/src/event.js
@@ -634,9 +634,9 @@ 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 ||
- // Support: Android < 4.0
src.defaultPrevented === undefined &&
- src.getPreventDefault && src.getPreventDefault() ?
+ // Support: Android < 4.0
+ src.returnValue === false ?
returnTrue :
returnFalse;