aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-12-11 15:19:25 -0500
committerScott González <scott.gonzalez@gmail.com>2010-12-11 15:19:25 -0500
commitca0ac5a64f6653fe8399a913538423b13d213307 (patch)
treec9175f1f5db7d21fb56641e32b8cd84d57424246 /ui/jquery.ui.dialog.js
parent9681b1fd7ee69e336906a0c383c2768ecf2d32b7 (diff)
downloadjquery-ui-ca0ac5a64f6653fe8399a913538423b13d213307.tar.gz
jquery-ui-ca0ac5a64f6653fe8399a913538423b13d213307.zip
All: Remove workaround for .offset() setter bug from older versions of jQuery.
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r--ui/jquery.ui.dialog.js5
1 files changed, 1 insertions, 4 deletions
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();
}