summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2012-01-16 22:51:08 +0100
committerFelix Nagel <info@felixnagel.com>2012-01-16 22:51:08 +0100
commit569d40163ab47e22221144f656de8c03893e033d (patch)
treeaf71ab15dd1be9997c30f12ac9b060a8f973d65e
parentf4e806506c852bcf5cb42e6390f75d346fbd7d11 (diff)
downloadjquery-ui-569d40163ab47e22221144f656de8c03893e033d.tar.gz
jquery-ui-569d40163ab47e22221144f656de8c03893e033d.zip
fixed: empty option text, thx to @outprove, see #102
-rw-r--r--ui/jquery.ui.selectmenu.js2
1 files changed, 1 insertions, 1 deletions
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 || '&nbsp;',
href : '#nogo',
tabindex : -1,
role : 'option',