diff options
Diffstat (limited to 'ui/jquery.ui.selectmenu.js')
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 7e3ba1689..0d011b9d2 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -375,19 +375,7 @@ $.widget("ui.selectmenu", { } else { var winH = $( window ).height() / 3; if ( winH < listH ) this.list.height( winH ); - } - - // if ( o.maxHeight ) { - // if (o.maxHeight < listH) { - // this.list.height( o.maxHeight ); - // } - // } else { - // var winH = $( window ).height() / 3; - // if ( winH < listH ) { - // this.list.height( winH ); - // console.log("set height (winH): " + winH); - // } - // } + } // save reference to actionable li's (not group label li's) this._optionLis = this.list.find('li:not(.' + self.widgetBaseClass + '-group)'); |