Skip to content
Permalink
Browse files

All: Remove workaround for .offset() setter bug from older versions o…

…f jQuery.
  • Loading branch information
scottgonzalez committed Dec 11, 2010
1 parent 9681b1f commit ca0ac5a64f6653fe8399a913538423b13d213307
Showing with 1 addition and 6 deletions.
  1. +0 −2 ui/jquery.ui.autocomplete.js
  2. +1 −4 ui/jquery.ui.dialog.js
@@ -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 ) {
@@ -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();
}

0 comments on commit ca0ac5a

Please sign in to comment.
You can’t perform that action at this time.