From: Felix Nagel Date: Mon, 16 Jan 2012 21:51:08 +0000 (+0100) Subject: fixed: empty option text, thx to @outprove, see #102 X-Git-Tag: selectmenu_v1.2.1~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=569d40163ab47e22221144f656de8c03893e033d;p=jquery-ui.git fixed: empty option text, thx to @outprove, see #102 --- diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 14ff857b6..337e875f2 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -308,7 +308,7 @@ $.widget("ui.selectmenu", { thisLiAttr[ 'class' ] = this.namespace + '-state-disabled'; } var thisAAttr = { - html: selectOptionData[i].text, + html: selectOptionData[i].text || ' ', href : '#nogo', tabindex : -1, role : 'option',