aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-01-30 05:20:05 +0000
committerRichard Worth <rdworth@gmail.com>2009-01-30 05:20:05 +0000
commit1b005c087133c7aac8f4cb18dd49086c731f2b1b (patch)
tree2280e92bb2a4cbb76241279b242f69346114cfb2 /demos
parentc36da07ca624bfad5b77ac0da90d5870507afca8 (diff)
downloadjquery-ui-1b005c087133c7aac8f4cb18dd49086c731f2b1b.tar.gz
jquery-ui-1b005c087133c7aac8f4cb18dd49086c731f2b1b.zip
demos draggable handle: disable text selection
Diffstat (limited to 'demos')
-rw-r--r--demos/draggable/handle.html1
1 files changed, 1 insertions, 0 deletions
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();
});
</script>
</head>