Skip to content

Commit eabb391

Browse files
committed
Widget: Removed unnecessary/incorrect logic for widgetEventPrefix.
1 parent 2df430d commit eabb391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.widget.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $.widget = function( name, base, prototype ) {
4949
$[ namespace ][ name ].prototype = $.extend( true, basePrototype, {
5050
namespace: namespace,
5151
widgetName: name,
52-
widgetEventPrefix: $[ namespace ][ name ].prototype.widgetEventPrefix || name,
52+
widgetEventPrefix: name,
5353
widgetBaseClass: fullName
5454
}, prototype );
5555

0 commit comments

Comments
 (0)