aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-01-13 19:32:08 -0500
committerScott González <scott.gonzalez@gmail.com>2011-01-13 19:32:08 -0500
commiteabb391e471bea66050a2e87f27df201842eb3a1 (patch)
treeebce0813ab440817511b6c60c4fbb28fb08bf9cd /ui
parent2df430d0e361a88f5c598a5e8d81fe3d163ff630 (diff)
downloadjquery-ui-eabb391e471bea66050a2e87f27df201842eb3a1.tar.gz
jquery-ui-eabb391e471bea66050a2e87f27df201842eb3a1.zip
Widget: Removed unnecessary/incorrect logic for widgetEventPrefix.
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.widget.js2
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 );