]> source.dussan.org Git - jquery-ui.git/commitdiff
Demos: Remove use of disableSelection() in widget demo, no need 1603/head
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 21 Sep 2015 11:14:20 +0000 (13:14 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 21 Sep 2015 11:14:20 +0000 (13:14 +0200)
Ref 4916487440b0c087e6e5996522cf478af26df591

demos/widget/default.html

index 80a420db47f0d166e494eeee049b3e4fabbeeb49..ad2b3b811897b3857424d42998ee7fa5bd592adf 100644 (file)
@@ -39,9 +39,7 @@
                        _create: function() {
                                this.element
                                        // add a class for theming
-                                       .addClass( "custom-colorize" )
-                                       // prevent double click to select text
-                                       .disableSelection();
+                                       .addClass( "custom-colorize" );
 
                                this.changer = $( "<button>", {
                                        text: "change",