mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-10-05 01:44:18 +00:00
Selectmenu: improve readability when creating button elements
This commit is contained in:
parent
8b4a3044cb
commit
00ab497923
4
ui/jquery.ui.selectmenu.js
vendored
4
ui/jquery.ui.selectmenu.js
vendored
@ -85,9 +85,9 @@ $.widget( "ui.selectmenu", {
|
|||||||
})
|
})
|
||||||
.insertAfter( this.element );
|
.insertAfter( this.element );
|
||||||
|
|
||||||
this.button.prepend( $( "<span>", {
|
$( "<span>", {
|
||||||
"class": "ui-icon " + this.options.icons.button
|
"class": "ui-icon " + this.options.icons.button
|
||||||
}));
|
}).prependTo( this.button );
|
||||||
|
|
||||||
this.buttonText = $( "<span>", {
|
this.buttonText = $( "<span>", {
|
||||||
"class": "ui-selectmenu-text"
|
"class": "ui-selectmenu-text"
|
||||||
|
Loading…
Reference in New Issue
Block a user