mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Fixes removing the namespace from an event name
This commit is contained in:
parent
5fa0db48d7
commit
cc6a600067
@ -621,7 +621,7 @@ $.Widget.prototype = {
|
|||||||
handler.guid || handlerProxy.guid || $.guid++;
|
handler.guid || handlerProxy.guid || $.guid++;
|
||||||
}
|
}
|
||||||
|
|
||||||
var match = event.match( /^([\w:-]*)\s*(.*)$/ );
|
var match = event.match( /^([\w:.-]*)\s+(.*)$/ );
|
||||||
var eventName = match[ 1 ] + instance.eventNamespace;
|
var eventName = match[ 1 ] + instance.eventNamespace;
|
||||||
var selector = match[ 2 ];
|
var selector = match[ 2 ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user