]> source.dussan.org Git - jquery-ui.git/commitdiff
demos draggable handle: disable text selection
authorRichard Worth <rdworth@gmail.com>
Fri, 30 Jan 2009 05:55:43 +0000 (05:55 +0000)
committerRichard Worth <rdworth@gmail.com>
Fri, 30 Jan 2009 05:55:43 +0000 (05:55 +0000)
demos/draggable/handle.html

index 57082a0f6d4bfc68e6dc92c362afead7ec8dc247..0484fff26a0b66d424af3188d9f48f2b5fa0e900 100644 (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>