mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Dialog: workaround for positioning bug.
This commit is contained in:
parent
486373239f
commit
c313289d00
5
ui/jquery.ui.dialog.js
vendored
5
ui/jquery.ui.dialog.js
vendored
@ -426,7 +426,10 @@ $.widget("ui.dialog", {
|
||||
if (!isVisible) {
|
||||
this.uiDialog.show();
|
||||
}
|
||||
this.uiDialog.position({
|
||||
this.uiDialog
|
||||
// workaround for jQuery bug #5781 http://dev.jquery.com/ticket/5781
|
||||
.css({ top: 0, left: 0 })
|
||||
.position({
|
||||
my: myAt.join(' '),
|
||||
at: myAt.join(' '),
|
||||
offset: offset.join(' '),
|
||||
|
Loading…
Reference in New Issue
Block a user