aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/event.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/event.js b/src/event.js
index 1a721a959..b371b9a27 100644
--- a/src/event.js
+++ b/src/event.js
@@ -688,7 +688,7 @@ jQuery.Event.prototype = {
this.isDefaultPrevented = returnTrue;
- if ( e && e.preventDefault ) {
+ if ( e ) {
e.preventDefault();
}
},
@@ -697,7 +697,7 @@ jQuery.Event.prototype = {
this.isPropagationStopped = returnTrue;
- if ( e && e.stopPropagation ) {
+ if ( e ) {
e.stopPropagation();
}
},
@@ -706,7 +706,7 @@ jQuery.Event.prototype = {
this.isImmediatePropagationStopped = returnTrue;
- if ( e && e.stopImmediatePropagation ) {
+ if ( e ) {
e.stopImmediatePropagation();
}