diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-12-11 15:19:25 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-12-11 15:19:25 -0500 |
commit | ca0ac5a64f6653fe8399a913538423b13d213307 (patch) | |
tree | c9175f1f5db7d21fb56641e32b8cd84d57424246 /ui | |
parent | 9681b1fd7ee69e336906a0c383c2768ecf2d32b7 (diff) | |
download | jquery-ui-ca0ac5a64f6653fe8399a913538423b13d213307.tar.gz jquery-ui-ca0ac5a64f6653fe8399a913538423b13d213307.zip |
All: Remove workaround for .offset() setter bug from older versions of jQuery.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 2 | ||||
-rw-r--r-- | ui/jquery.ui.dialog.js | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index e677daf9f..9b1b3f2c9 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.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 ) { diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js index 5c1504aeb..c4452368f 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -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(); } |