} 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)');