mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Widget: Removed unnecessary/incorrect logic for widgetEventPrefix.
This commit is contained in:
2
ui/jquery.ui.widget.js
vendored
2
ui/jquery.ui.widget.js
vendored
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user