From 215cc09067f08aa67ed467c667efccbbf3bf4468 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Mon, 19 Aug 2013 19:31:15 +0200 Subject: [PATCH] No ticket. Add a support note about defaultPrevented missing in Android < 4.0 --- src/event.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/event.js b/src/event.js index cd468d2a3..541326f6d 100644 --- a/src/event.js +++ b/src/event.js @@ -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 { -- 2.39.5