ehynds / jquery-ui-multiselect-widget

jQuery UI MultiSelect widget

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

If the header is false, this line gives `undefined`

mmalbergier opened this issue · comments

var headerHeight = $header.outerHeight(true);

If header is set to false, the headerHeight has undefined, and then the maxHeight has undefined

This line fixes the issue:
if (typeof(headerHeight) !== 'number') { headerHeight = 0; }