demos draggable handle: disable text selection

This commit is contained in:
Richard Worth
2009-01-30 05:55:43 +00:00
parent 55953d650a
commit 211451e409

View File

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