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

index 01bc8ff9ee4bc681aba859cdf6024ea75216db71..119bcc8bec7ecf1d9d2e91cd9fa98017aa7d9bef 100644 (file)
@@ -21,7 +21,8 @@
                        connectToSortable: '#sortable',
                        helper: 'clone',
                        revert: 'invalid'
-               });
+               })
+               $("ul, li").disableSelection();
        });
        </script>
 </head>