All: Remove workaround for .offset() setter bug from older versions of jQuery.

This commit is contained in:
Scott González 2010-12-11 15:19:25 -05:00
parent 9681b1fd7e
commit ca0ac5a64f
2 changed files with 1 additions and 6 deletions

View File

@ -201,8 +201,6 @@ $.widget( "ui.autocomplete", {
}
})
.zIndex( this.element.zIndex() + 1 )
// workaround for jQuery bug #5781 http://dev.jquery.com/ticket/5781
.css({ top: 0, left: 0 })
.hide()
.data( "menu" );
if ( $.fn.bgiframe ) {

View File

@ -518,10 +518,7 @@ $.widget("ui.dialog", {
if (!isVisible) {
this.uiDialog.show();
}
this.uiDialog
// workaround for jQuery bug #5781 http://dev.jquery.com/ticket/5781
.css({ top: 0, left: 0 })
.position(position);
this.uiDialog.position(position);
if (!isVisible) {
this.uiDialog.hide();
}