]> source.dussan.org Git - jquery-ui.git/commitdiff
Widget: Removed unnecessary/incorrect logic for widgetEventPrefix.
authorScott González <scott.gonzalez@gmail.com>
Fri, 14 Jan 2011 00:32:08 +0000 (19:32 -0500)
committerScott González <scott.gonzalez@gmail.com>
Fri, 14 Jan 2011 00:32:08 +0000 (19:32 -0500)
ui/jquery.ui.widget.js

index a9538c51c655a9962ad56a89154d60b6498a271f..82b88ea71994dd806382fd8216657123268f9300 100644 (file)
@@ -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 );