mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
dialog - fixed autoOpen false in Safari for disconnected element - .appendTo(body) before .hide()
This commit is contained in:
parent
0d74c8463b
commit
7a3f5e5a14
@ -54,8 +54,8 @@ $.widget("ui.dialog", {
|
||||
.prependTo(uiDialogContainer),
|
||||
|
||||
uiDialog = (this.uiDialog = uiDialogContainer.parent())
|
||||
.hide()
|
||||
.appendTo(document.body)
|
||||
.hide()
|
||||
.addClass('ui-dialog')
|
||||
.addClass(options.dialogClass)
|
||||
// add content classes to dialog
|
||||
|
Loading…
Reference in New Issue
Block a user