Skip to content
Permalink
Browse files

When we disabled triggering of clicks, we also killed off blur and fo…

…cus, this fixes that (bug #1440).
  • Loading branch information
jeresig committed Jul 31, 2007
1 parent 660490e commit 4ae80a1e2cfe7445501e8f365d72417014cf1acb
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 ]();
}

0 comments on commit 4ae80a1

Please sign in to comment.
You can’t perform that action at this time.