Skip to content

Commit

Permalink
Merge pull request #95 from caseyjhol/master
Browse files Browse the repository at this point in the history
Fix #31
  • Loading branch information
caseyjhol committed Mar 30, 2013
2 parents 0d21a93 + 0182d84 commit df9bd4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bootstrap-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
var select = this.$newElement;
var menu = this.$newElement.find('.dropdown-menu');
var menuA = menu.find('li > a');
var liHeight = parseInt(menuA.css('line-height')) + menuA.outerHeight();
var liHeight = select.addClass('open').find('.dropdown-menu li > a').outerHeight();
select.removeClass('open');
var divHeight = menu.find('li .divider').outerHeight(true);
var selectOffset_top = this.$newElement.offset().top;
var size = 0;
Expand Down
2 changes: 1 addition & 1 deletion bootstrap-select.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit df9bd4e

Please sign in to comment.