Skip to content

Commit 2833055

Browse files
committed
Merge pull request marcj#57 from xjamundx/a88ca972616afd1db48f73677db59f1753f9805c
global optionHeight
2 parents ecd81ed + a88ca97 commit 2833055

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.selectBox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ if(jQuery) (function($) {
113113
.show()
114114
.appendTo('body');
115115
tmp.find('.selectBox-options').html('<li><a>\u00A0</a></li>');
116-
optionHeight = parseInt(tmp.find('.selectBox-options A:first').html('&nbsp;').outerHeight());
116+
var optionHeight = parseInt(tmp.find('.selectBox-options A:first').html('&nbsp;').outerHeight());
117117
tmp.remove();
118118

119119
control.height(optionHeight * size);

0 commit comments

Comments
 (0)