mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-22 12:55:12 +00:00
Fixed positioning
This commit is contained in:
parent
1daf24aae1
commit
05915c51fe
@ -263,7 +263,7 @@
|
||||
if(!that.options.openOnTop){
|
||||
styles.top = (offset.top + that.el.outerHeight()) + 'px'
|
||||
}else{
|
||||
styles.bottom = ($(document).height() - offset.top) + 'px';
|
||||
styles.bottom = ($(document.body).height() - offset.top) + 'px';
|
||||
}
|
||||
|
||||
if (that.options.width === 'auto') {
|
||||
|
Loading…
Reference in New Issue
Block a user