aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/module
diff options
context:
space:
mode:
Diffstat (limited to 'src/module')
-rw-r--r--src/module/Select.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module/Select.jsx b/src/module/Select.jsx
index 0b91ac5..8cf4e2d 100644
--- a/src/module/Select.jsx
+++ b/src/module/Select.jsx
@@ -62,7 +62,7 @@ const Select = React.createClass({
62 // move to selected item 62 // move to selected item
63 const select = ReactDom.findDOMNode(this); 63 const select = ReactDom.findDOMNode(this);
64 const list = ReactDom.findDOMNode(this.refs.list); 64 const list = ReactDom.findDOMNode(this.refs.list);
65 let index = this.props.selectedIndex - 1; 65 let index = this.props.selectedIndex;
66 if (index < 0) { 66 if (index < 0) {
67 index = 0; 67 index = 0;
68 } 68 }