Skip to content

Commit ca0ac5a

Browse files
committed
All: Remove workaround for .offset() setter bug from older versions of jQuery.
1 parent 9681b1f commit ca0ac5a

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

ui/jquery.ui.autocomplete.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,6 @@ $.widget( "ui.autocomplete", {
201201
}
202202
})
203203
.zIndex( this.element.zIndex() + 1 )
204-
// workaround for jQuery bug #5781 http://dev.jquery.com/ticket/5781
205-
.css({ top: 0, left: 0 })
206204
.hide()
207205
.data( "menu" );
208206
if ( $.fn.bgiframe ) {

ui/jquery.ui.dialog.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -518,10 +518,7 @@ $.widget("ui.dialog", {
518518
if (!isVisible) {
519519
this.uiDialog.show();
520520
}
521-
this.uiDialog
522-
// workaround for jQuery bug #5781 http://dev.jquery.com/ticket/5781
523-
.css({ top: 0, left: 0 })
524-
.position(position);
521+
this.uiDialog.position(position);
525522
if (!isVisible) {
526523
this.uiDialog.hide();
527524
}

0 commit comments

Comments
 (0)