File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -80,15 +80,14 @@ return $.widget( "ui.controlgroup", {
80
80
// Make sure the widget actually exists and has a selector set
81
81
if ( $ . fn [ widget ] && selector ) {
82
82
83
- // Find instances of this widget inside controlgroup init them
83
+ // Find instances of this widget inside controlgroup and init them
84
84
widgets = that . element . find ( selector ) [ widget ] ( options ) ;
85
85
86
86
widgets . each ( function ( ) {
87
87
var element = $ ( this ) ;
88
88
89
- // Store an instance of the controlgroup to be able to refrence
89
+ // Store an instance of the controlgroup to be able to reference it later
90
90
var widgetElement = element [ widget ] ( "widget" ) ;
91
-
92
91
widgetElement . data (
93
92
"ui-controlgroup-data" ,
94
93
element . data ( "ui-" + widget . charAt ( 0 ) . toUpperCase ( ) + widget . slice ( 1 ) )
You can’t perform that action at this time.
0 commit comments