aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/event/event.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event/event.js b/src/event/event.js
index df982ec40..205b510a1 100644
--- a/src/event/event.js
+++ b/src/event/event.js
@@ -135,7 +135,7 @@ jQuery.event = {
}
},
- trigger: function(type, data, element, native, extra) {
+ trigger: function(type, data, element, donative, extra) {
// Clone the incoming data, if any
data = jQuery.makeArray(data || []);
@@ -172,7 +172,7 @@ jQuery.event = {
val = false;
// Trigger the native events (except for clicks on links)
- if ( fn && native !== false && val !== false && !(jQuery.nodeName(element, 'a') && type == "click") ) {
+ if ( fn && donative !== false && val !== false && !(jQuery.nodeName(element, 'a') && type == "click") ) {
this.triggered = true;
element[ type ]();
}