aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/selectmenu/default.html6
-rw-r--r--ui/jquery.ui.selectmenu.js2
2 files changed, 4 insertions, 4 deletions
diff --git a/demos/selectmenu/default.html b/demos/selectmenu/default.html
index 6b1aacdfb..824f89fa2 100644
--- a/demos/selectmenu/default.html
+++ b/demos/selectmenu/default.html
@@ -37,7 +37,7 @@
<form action="#">
<fieldset>
- <label for="speed">Select a speed:</label>
+ <label for="speed">Select a speed</label>
<select name="speed" id="speed">
<option value="Slower">Slower</option>
<option value="Slow">Slow</option>
@@ -48,7 +48,7 @@
<br />
<br />
<br />
- <label for="files">Select a file:</label>
+ <label for="files">Select a file</label>
<select name="files" id="files">
<optgroup label="Scripts">
<option value="jquery">jQuery.js</option>
@@ -62,7 +62,7 @@
<br />
<br />
<br />
- <label for="number">Select a number:</label>
+ <label for="number">Select a number</label>
<select name="number" id="number">
<option value="1">1</option>
<option value="2" selected="selected">2</option>
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js
index 97b64c31a..5d531fc32 100644
--- a/ui/jquery.ui.selectmenu.js
+++ b/ui/jquery.ui.selectmenu.js
@@ -235,7 +235,7 @@ $.widget( "ui.selectmenu", {
if ( !this.isOpen ) {
return;
}
-
+
var id = this._getSelectedItem().find( "a" ).attr( "id" );
this.isOpen = false;
this._toggleAttr();