mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-20 20:11:19 -04:00
fix positioning regression
This commit is contained in:
parent
80c03b7b1e
commit
30df1b1815
1 changed files with 6 additions and 1 deletions
|
@ -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…
Reference in a new issue