Skip to content

Commit

Permalink
Fixes removing the namespace from an event name
Browse files Browse the repository at this point in the history
  • Loading branch information
Eydamos committed Sep 1, 2022
1 parent 5fa0db4 commit cc6a600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];

Expand Down

0 comments on commit cc6a600

Please sign in to comment.