mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 16:24:55 +00:00
fix positioning regression
This commit is contained in:
parent
80c03b7b1e
commit
30df1b1815
@ -146,13 +146,18 @@ $.fn.autocomplete = function(options) {
|
||||
pos: completeStart,
|
||||
key: options.key
|
||||
});
|
||||
vOffset = div.height();
|
||||
hOffset = 27;
|
||||
}
|
||||
div.css({
|
||||
left: "-1000px"
|
||||
});
|
||||
|
||||
me.parent().append(div);
|
||||
|
||||
if(!isInput){
|
||||
vOffset = div.height();
|
||||
}
|
||||
|
||||
var mePos = me.position();
|
||||
var borderTop = parseInt(me.css('border-top-width'), 10) || 0;
|
||||
div.css({
|
||||
|
Loading…
x
Reference in New Issue
Block a user