Skip to content

Commit d88c4dd

Browse files
author
Marc J. Schmidt
committed
Merge pull request marcj#130 from TehCanadian/master
Bugfix "elem.style is undefined"
2 parents c6873d8 + 26cdafc commit d88c4dd

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
@@ -452,7 +452,7 @@
452452

453453
// Get top or bottom position for menu
454454
var top = control.offset().top + control.outerHeight() - borderBottomWidth
455-
, posTop = top+options.outerHeight()>$(window).outerHeight();
455+
, posTop = top+options.outerHeight()>$(window).height();
456456
top = posTop?control.offset().top - options.outerHeight() + borderTopWidth:top;
457457

458458
// Save if position is top to options data

0 commit comments

Comments
 (0)