Skip to content

Commit

Permalink
All: Remove workaround for .offset() setter bug from older versions o…
Browse files Browse the repository at this point in the history
…f jQuery.
  • Loading branch information
scottgonzalez committed Dec 11, 2010
1 parent 9681b1f commit ca0ac5a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions ui/jquery.ui.autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down
5 changes: 1 addition & 4 deletions ui/jquery.ui.dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit ca0ac5a

Please sign in to comment.