demos draggable handle: disable text selection

This commit is contained in:
Richard Worth
2009-01-30 05:20:05 +00:00
parent c36da07ca6
commit 1b005c0871

View File

@@ -15,6 +15,7 @@
$(function() {
$("#draggable").draggable({ handle: 'p' });
$("#draggable2").draggable({ cancel: "p.ui-widget-header" });
$(".ui-draggable").disableSelection();
});
</script>
</head>