mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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 New Issue
Block a user