diff options
Diffstat (limited to 'ui/ui.dialog.js')
-rw-r--r-- | ui/ui.dialog.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js index ff8083a29..c940f657d 100644 --- a/ui/ui.dialog.js +++ b/ui/ui.dialog.js @@ -114,9 +114,7 @@ $.widget("ui.dialog", { return false; }); - uiDialogTitlebar.find("*").add(uiDialogTitlebar).each(function() { - $.ui.disableSelection(this); - }); + uiDialogTitlebar.find("*").add(uiDialogTitlebar).disableSelection(); (options.draggable && $.fn.draggable && this._makeDraggable()); (options.resizable && $.fn.resizable && this._makeResizable()); |