Skip to content

Commit cc6a600

Browse files
committed
Fixes removing the namespace from an event name
1 parent 5fa0db4 commit cc6a600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/widget.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ $.Widget.prototype = {
621621
handler.guid || handlerProxy.guid || $.guid++;
622622
}
623623

624-
var match = event.match( /^([\w:-]*)\s*(.*)$/ );
624+
var match = event.match( /^([\w:.-]*)\s+(.*)$/ );
625625
var eventName = match[ 1 ] + instance.eventNamespace;
626626
var selector = match[ 2 ];
627627

0 commit comments

Comments
 (0)