Merge branch 'master' of github.com:jquery/jquery
This commit is contained in:
commit
42568db4c4
|
@ -382,7 +382,8 @@ jQuery.event = {
|
|||
namespace = new RegExp("(^|\\.)" + namespaces.slice(0).sort().join("\\.(?:.*\\.)?") + "(\\.|$)");
|
||||
}
|
||||
|
||||
var events = jQuery.data(this, "events"), handlers = events[ event.type ];
|
||||
events = jQuery.data(this, "events");
|
||||
handlers = (events || {})[ event.type ];
|
||||
|
||||
if ( events && handlers ) {
|
||||
// Clone the handlers to prevent manipulation
|
||||
|
|
Loading…
Reference in a new issue