Autocomplete: Turned off collision detection.

Fixes #5114 - Autocomplete: Turn off collision detection for menu.
This commit is contained in:
Scott González 2010-01-30 16:38:51 +00:00
parent 58a3a99e1e
commit a4daa10f53

View File

@ -243,7 +243,8 @@ $.widget( "ui.autocomplete", {
.position({
my: "left top",
at: "left bottom",
of: this.element
of: this.element,
collision: "none"
})
.data( "menu" );
if ( ul.width() <= this.element.width() ) {