From: Richard Worth Date: Fri, 30 Jan 2009 05:20:05 +0000 (+0000) Subject: demos draggable handle: disable text selection X-Git-Tag: 1.6rc6~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1b005c087133c7aac8f4cb18dd49086c731f2b1b;p=jquery-ui.git demos draggable handle: disable text selection --- diff --git a/demos/draggable/handle.html b/demos/draggable/handle.html index 3e600d640..57082a0f6 100644 --- a/demos/draggable/handle.html +++ b/demos/draggable/handle.html @@ -15,6 +15,7 @@ $(function() { $("#draggable").draggable({ handle: 'p' }); $("#draggable2").draggable({ cancel: "p.ui-widget-header" }); + $(".ui-draggable").disableSelection(); });