mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14: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++;
|
||||
}
|
||||
|
||||
var match = event.match( /^([\w:-]*)\s*(.*)$/ );
|
||||
var match = event.match( /^([\w:.-]*)\s+(.*)$/ );
|
||||
var eventName = match[ 1 ] + instance.eventNamespace;
|
||||
var selector = match[ 2 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user