Fixes removing the namespace from an event name

This commit is contained in:
Tim Werdin 2022-09-01 15:21:46 +02:00
parent 5fa0db48d7
commit cc6a600067

View File

@ -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 ];