diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-01-13 19:32:08 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-01-13 19:32:08 -0500 |
commit | eabb391e471bea66050a2e87f27df201842eb3a1 (patch) | |
tree | ebce0813ab440817511b6c60c4fbb28fb08bf9cd /ui/jquery.ui.widget.js | |
parent | 2df430d0e361a88f5c598a5e8d81fe3d163ff630 (diff) | |
download | jquery-ui-eabb391e471bea66050a2e87f27df201842eb3a1.tar.gz jquery-ui-eabb391e471bea66050a2e87f27df201842eb3a1.zip |
Widget: Removed unnecessary/incorrect logic for widgetEventPrefix.
Diffstat (limited to 'ui/jquery.ui.widget.js')
-rw-r--r-- | ui/jquery.ui.widget.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js index a9538c51c..82b88ea71 100644 --- a/ui/jquery.ui.widget.js +++ b/ui/jquery.ui.widget.js @@ -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 ); |