mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Dialog: Fixed #3731: Contain dialogs within the document when dragging.
This commit is contained in:
parent
03f0b95b52
commit
8b9312a064
@ -285,6 +285,7 @@ $.widget("ui.dialog", {
|
||||
cancel: '.ui-dialog-content',
|
||||
helper: options.dragHelper,
|
||||
handle: '.ui-dialog-titlebar',
|
||||
containment: 'document',
|
||||
start: function() {
|
||||
(options.dragStart && options.dragStart.apply(self.element[0], arguments));
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user