aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/attributes.js')
-rw-r--r--src/attributes.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/attributes.js b/src/attributes.js
index 86f2d74a7..9326f69db 100644
--- a/src/attributes.js
+++ b/src/attributes.js
@@ -219,7 +219,8 @@ jQuery.extend({
},
select: {
get: function( elem ) {
- var index = elem.selectedIndex,
+ var value,
+ index = elem.selectedIndex,
values = [],
options = elem.options,
one = elem.type === "select-one";