Permalink
Browse files

demos draggable handle: disable text selection

  • Loading branch information...
1 parent 55953d6 commit 211451e409d20e0d8ec3e45bbeb2b0d8eb278747 @rdworth rdworth committed Jan 30, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 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>

0 comments on commit 211451e

Please sign in to comment.