Fix offset top for autocomplete
This commit is contained in:
parent
0b6dc320cb
commit
c9d67bdb91
1 changed files with 1 additions and 1 deletions
|
|
@ -704,7 +704,7 @@ $.Autocompleter.Select = function (options, input, select, config) {
|
||||||
var offset = $(input).offset();
|
var offset = $(input).offset();
|
||||||
element.css({
|
element.css({
|
||||||
width: typeof options.width == "string" || options.width > 0 ? options.width : $(input).width(),
|
width: typeof options.width == "string" || options.width > 0 ? options.width : $(input).width(),
|
||||||
top: offset.top + input.offsetHeight,
|
top: offset.top + input.offsetHeight - $("nav.navbar").offset().top,
|
||||||
left: offset.left
|
left: offset.left
|
||||||
}).show();
|
}).show();
|
||||||
if(options.scroll) {
|
if(options.scroll) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue