mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: don't quote click, remove extraneous space
This commit is contained in:
parent
60eed79390
commit
a29cfb8bf4
2
ui/jquery.ui.selectmenu.js
vendored
2
ui/jquery.ui.selectmenu.js
vendored
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user