Skip to content

Commit a88ca97

Browse files
committed
no more global optionHeight
1 parent 608ce75 commit a88ca97

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
@@ -194,7 +194,7 @@ if(jQuery) (function($) {
194194
.show()
195195
.appendTo('body');
196196
tmp.find('.selectBox-options').html('<li><a>\u00A0</a></li>');
197-
optionHeight = parseInt(tmp.find('.selectBox-options A:first').html('&nbsp;').outerHeight());
197+
var optionHeight = parseInt(tmp.find('.selectBox-options A:first').html('&nbsp;').outerHeight());
198198
tmp.remove();
199199

200200
control.height(optionHeight * size);

0 commit comments

Comments
 (0)