aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/module/Select.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/module/Select.jsx')
-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 be4c025..570ff37 100644
--- a/src/module/Select.jsx
+++ b/src/module/Select.jsx
@@ -58,7 +58,7 @@ const Select = React.createClass({
58 // move to selected item 58 // move to selected item
59 const select = ReactDom.findDOMNode(this); 59 const select = ReactDom.findDOMNode(this);
60 const list = ReactDom.findDOMNode(this.refs.list); 60 const list = ReactDom.findDOMNode(this.refs.list);
61 let index = this.props.selectedIndex - 2; 61 let index = this.props.selectedIndex - 1;
62 if (index < 0) { 62 if (index < 0) {
63 index = 0; 63 index = 0;
64 } 64 }