We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 954419f commit 0dc4a48Copy full SHA for 0dc4a48
ui/jquery.ui.dialog.js
@@ -108,7 +108,8 @@ $.widget("ui.dialog", {
108
})
109
.mousedown(function( event ) {
110
self.moveToTop( false, event );
111
- }),
+ })
112
+ .appendTo( "body" ),
113
114
uiDialogContent = self.element
115
.show()
@@ -155,8 +156,6 @@ $.widget("ui.dialog", {
155
156
self._createButtons( options.buttons );
157
self._isOpen = false;
158
- uiDialog.appendTo( document.body );
159
-
160
if ( $.fn.bgiframe ) {
161
uiDialog.bgiframe();
162
}
0 commit comments