]> source.dussan.org Git - jquery-ui.git/commitdiff
All: Remove workaround for .offset() setter bug from older versions of jQuery.
authorScott González <scott.gonzalez@gmail.com>
Sat, 11 Dec 2010 20:19:25 +0000 (15:19 -0500)
committerScott González <scott.gonzalez@gmail.com>
Sat, 11 Dec 2010 20:19:25 +0000 (15:19 -0500)
ui/jquery.ui.autocomplete.js
ui/jquery.ui.dialog.js

index e677daf9f9e81271763ca7f643149fbbc186dc5b..9b1b3f2c9d0656f511145b841542d69093121ea0 100644 (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 ) {
index 5c1504aeb9ca786787637641d6f415844bfb6078..c4452368fb9a833a247a915ed67b157a7b582460 100644 (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();
                }