Skip to content

Commit

Permalink
Widget: Removed unnecessary/incorrect logic for widgetEventPrefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Jan 14, 2011
1 parent 2df430d commit eabb391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ $.widget = function( name, base, prototype ) {
$[ namespace ][ name ].prototype = $.extend( true, basePrototype, {
namespace: namespace,
widgetName: name,
widgetEventPrefix: $[ namespace ][ name ].prototype.widgetEventPrefix || name,
widgetEventPrefix: name,
widgetBaseClass: fullName
}, prototype );

Expand Down

0 comments on commit eabb391

Please sign in to comment.