diff options
Diffstat (limited to 'ui/jquery.ui.selectmenu.js')
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index a0391268e..d97b52387 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -260,7 +260,7 @@ $.widget( "ui.selectmenu", { if ( item.optgroup !== currentOptgroup ) { $( "<li />", { "class": "ui-selectmenu-optgroup" + ( item.element.parent( "optgroup" ).attr( "disabled" ) ? " ui-state-disabled" : "" ), - html: item.optgroup + text: item.optgroup }).appendTo( ul ); currentOptgroup = item.optgroup; } @@ -274,7 +274,7 @@ $.widget( "ui.selectmenu", { li.addClass( "ui-state-disabled" ); } li.append( $( "<a />", { - html: item.label, + text: item.label, href: "#" }) ); |