When we disabled triggering of clicks, we also killed off blur and focus, this fixes that (bug #1440).
This commit is contained in:
parent
660490e6f4
commit
4ae80a1e2c
|
@ -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 ]();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue