2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-11-25 14:17:45 +00:00

Use outerHeight instead of innerHeight

This commit is contained in:
Tomas Kirda 2012-11-10 21:43:42 -06:00
parent 948ce9cdb7
commit 930393c7f7

View File

@ -88,7 +88,7 @@
};
if (!this.options.width) {
this.options.width = this.el.width();
this.options.width = this.el.outerWidth();
}
this.mainContainerId = 'AutocompleteContainter_' + uid;
@ -144,7 +144,7 @@
fixPosition: function () {
var offset = this.el.offset();
$('#' + this.mainContainerId).css({ top: (offset.top + this.el.innerHeight()) + 'px', left: offset.left + 'px' });
$('#' + this.mainContainerId).css({ top: (offset.top + this.el.outerHeight()) + 'px', left: offset.left + 'px' });
},
enableKillerFn: function () {