diff options
author | Felix Nagel <info@felixnagel.com> | 2011-06-16 23:58:38 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2011-06-16 23:58:38 +0200 |
commit | 3d8f6f0a39025e1ff528b98d508519e99c14e0e8 (patch) | |
tree | 21aab37e3d847182793bfb92e4263cab5b1b585a /ui | |
parent | 519b26453a320d2e9f6d968956ef5e561c0c4f41 (diff) | |
download | jquery-ui-3d8f6f0a39025e1ff528b98d508519e99c14e0e8.tar.gz jquery-ui-3d8f6f0a39025e1ff528b98d508519e99c14e0e8.zip |
fixed: problem with height and maxHeight, generally improved height handling
removed: unneeded code
Diffstat (limited to 'ui')
-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)'); |