mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Dialog: Fixed bug where dialogs wouldn't close if there was no animation.
This commit is contained in:
@@ -167,7 +167,7 @@ $.widget("ui.dialog", {
|
||||
? self.uiDialog.hide(self.options.hide, function() {
|
||||
self._trigger('close', event);
|
||||
})
|
||||
: self._trigger('close', event));
|
||||
: self.uiDialog.hide() && self._trigger('close', event));
|
||||
|
||||
$.ui.dialog.overlay.resize();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user