We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 256a449 commit 754e041Copy full SHA for 754e041
ui/widgets/controlgroup.js
@@ -88,10 +88,8 @@ return $.widget( "ui.controlgroup", {
88
89
// Store an instance of the controlgroup to be able to reference it later
90
var widgetElement = element[ widget ]( "widget" );
91
- widgetElement.data(
92
- "ui-controlgroup-data",
93
- element.data( "ui-" + widget.charAt( 0 ).toUpperCase() + widget.slice( 1 ) )
94
- );
+ $.data( widgetElement[ 0 ], "ui-controlgroup-data",
+ element[ widget ]( "instance" ) );
95
96
childWidgets.push( widgetElement[ 0 ] );
97
} );
0 commit comments