Selectmenu: improve readability when creating button elements

This commit is contained in:
Felix Nagel 2013-04-29 22:14:50 +02:00
parent 8b4a3044cb
commit 00ab497923

View File

@ -85,9 +85,9 @@ $.widget( "ui.selectmenu", {
})
.insertAfter( this.element );
this.button.prepend( $( "<span>", {
$( "<span>", {
"class": "ui-icon " + this.options.icons.button
}));
}).prependTo( this.button );
this.buttonText = $( "<span>", {
"class": "ui-selectmenu-text"