Selectmenu: don't quote click, remove extraneous space

This commit is contained in:
Felix Nagel 2013-04-29 21:59:55 +02:00
parent 60eed79390
commit a29cfb8bf4

View File

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