Merge pull request #6134 from svbergerem/fix-autocomplete-offset-top

Fix offset top for autocomplete
This commit is contained in:
Jonne Haß 2015-06-22 16:26:06 +02:00
commit 1f78315a23

View file

@ -704,7 +704,7 @@ $.Autocompleter.Select = function (options, input, select, config) {
var offset = $(input).offset();
element.css({
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
}).show();
if(options.scroll) {