Skip to content

Commit 3496087

Browse files
committed
Controlgroup: implement _elementsFromClassKey
1 parent 6a388fc commit 3496087

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ui/controlgroup.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,13 @@ $.widget( "ui.controlgroup", {
102102
};
103103
},
104104

105+
_elementsFromClassKey: function( classKey ) {
106+
if ( this.options.direction !== classKey.split( "-" )[ 2 ] ) {
107+
return $();
108+
}
109+
return this._superApply( arguments );
110+
},
111+
105112
_setOption: function( key, value ) {
106113
var original = this.options[ key ];
107114

0 commit comments

Comments
 (0)