Skip to content
Permalink
Browse files

Selectmenu: improve readability when creating button elements

  • Loading branch information...
fnagel committed Apr 29, 2013
1 parent 8b4a304 commit 00ab4979238f1ed71dba8ed69e30ed467fb24641
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/jquery.ui.selectmenu.js
@@ -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"

0 comments on commit 00ab497

Please sign in to comment.
You can’t perform that action at this time.