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 519b264 commit 3d8f6f0Copy full SHA for 3d8f6f0
ui/jquery.ui.selectmenu.js
@@ -375,19 +375,7 @@ $.widget("ui.selectmenu", {
375
} else {
376
var winH = $( window ).height() / 3;
377
if ( winH < listH ) this.list.height( winH );
378
- }
379
-
380
- // if ( o.maxHeight ) {
381
- // if (o.maxHeight < listH) {
382
- // this.list.height( o.maxHeight );
383
- // }
384
- // } else {
385
- // var winH = $( window ).height() / 3;
386
- // if ( winH < listH ) {
387
- // this.list.height( winH );
388
- // console.log("set height (winH): " + winH);
389
390
+ }
391
392
// save reference to actionable li's (not group label li's)
393
this._optionLis = this.list.find('li:not(.' + self.widgetBaseClass + '-group)');
0 commit comments