aboutsummaryrefslogtreecommitdiffstats
path: root/demos/draggable
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-01-30 05:55:43 +0000
committerRichard Worth <rdworth@gmail.com>2009-01-30 05:55:43 +0000
commit211451e409d20e0d8ec3e45bbeb2b0d8eb278747 (patch)
treee66d8a617bbe36c7ffdcc50746272d4a1aed792f /demos/draggable
parent55953d650a2f128764ee4679f7a69bcad98f7400 (diff)
downloadjquery-ui-211451e409d20e0d8ec3e45bbeb2b0d8eb278747.tar.gz
jquery-ui-211451e409d20e0d8ec3e45bbeb2b0d8eb278747.zip
demos draggable handle: disable text selection
Diffstat (limited to 'demos/draggable')
-rw-r--r--demos/draggable/handle.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/draggable/handle.html b/demos/draggable/handle.html
index 57082a0f6..0484fff26 100644
--- a/demos/draggable/handle.html
+++ b/demos/draggable/handle.html
@@ -15,7 +15,7 @@
$(function() {
$("#draggable").draggable({ handle: 'p' });
$("#draggable2").draggable({ cancel: "p.ui-widget-header" });
- $(".ui-draggable").disableSelection();
+ $("div, p").disableSelection();
});
</script>
</head>