aboutsummaryrefslogtreecommitdiffstats
path: root/demos/draggable
diff options
context:
space:
mode:
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>