We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fc2cb3 commit 256a449Copy full SHA for 256a449
ui/widgets/controlgroup.js
@@ -80,15 +80,14 @@ return $.widget( "ui.controlgroup", {
80
// Make sure the widget actually exists and has a selector set
81
if ( $.fn[ widget ] && selector ) {
82
83
- // Find instances of this widget inside controlgroup init them
+ // Find instances of this widget inside controlgroup and init them
84
widgets = that.element.find( selector )[ widget ]( options );
85
86
widgets.each( function() {
87
var element = $( this );
88
89
- // Store an instance of the controlgroup to be able to refrence
+ // Store an instance of the controlgroup to be able to reference it later
90
var widgetElement = element[ widget ]( "widget" );
91
-
92
widgetElement.data(
93
"ui-controlgroup-data",
94
element.data( "ui-" + widget.charAt( 0 ).toUpperCase() + widget.slice( 1 ) )
0 commit comments