aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/event/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/event.js b/src/event/event.js
index b13e5a02f..d753e6f85 100644
--- a/src/event/event.js
+++ b/src/event/event.js
@@ -153,7 +153,7 @@ jQuery.event = {
if ( !fn && element["on"+type] && element["on"+type].apply( element, data ) === false )
val = false;
- if ( fn && val !== false && !jQuery.nodeName(element, 'a') ) {
+ if ( fn && val !== false && !(jQuery.nodeName(element, 'a') && type == "click") ) {
this.triggered = true;
element[ type ]();
}