aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/ui.dialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js
index 41732dc80..96414e7eb 100644
--- a/ui/ui.dialog.js
+++ b/ui/ui.dialog.js
@@ -37,6 +37,7 @@ $.widget("ui.dialog", {
options = this.options,
uiDialogContent = this.element
+ .appendTo(document.body)
.removeAttr('title')
.addClass(
'ui-dialog-content ' +
@@ -104,7 +105,6 @@ $.widget("ui.dialog", {
.prependTo(uiDialogTitlebar),
uiDialog = (this.uiDialog = uiDialogContainer.parent())
- .appendTo(document.body)
.hide()
.addClass(
'ui-dialog ' +