]> source.dussan.org Git - jquery-ui.git/commitdiff
Selectmenu: don't quote click, remove extraneous space
authorFelix Nagel <info@felixnagel.com>
Mon, 29 Apr 2013 19:59:55 +0000 (21:59 +0200)
committerFelix Nagel <info@felixnagel.com>
Mon, 29 Apr 2013 19:59:55 +0000 (21:59 +0200)
ui/jquery.ui.selectmenu.js

index 9ed150c2e867eb13da85be282e58eddaa4de2312..07b8bd47ea9701fc78652f2718f8d19212c54f61 100644 (file)
@@ -62,7 +62,7 @@ $.widget( "ui.selectmenu", {
                // fix existing label
                this.label = $( "label[for='" + this.ids.element + "']" ).attr( "for", this.ids.button );
                this._on( this.label, {
-                       "click":  function( event ) {
+                       click: function( event ) {
                                this.button.focus();
                                event.preventDefault();
                        }