diff options
Diffstat (limited to 'examples/common.js')
-rw-r--r-- | examples/common.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/common.js b/examples/common.js index 2351a9b..7550a6c 100644 --- a/examples/common.js +++ b/examples/common.js | |||
@@ -27939,7 +27939,7 @@ | |||
27939 | // move to selected item | 27939 | // move to selected item |
27940 | var select = _reactDom2['default'].findDOMNode(this); | 27940 | var select = _reactDom2['default'].findDOMNode(this); |
27941 | var list = _reactDom2['default'].findDOMNode(this.refs.list); | 27941 | var list = _reactDom2['default'].findDOMNode(this.refs.list); |
27942 | var index = this.props.selectedIndex - 1; | 27942 | var index = this.props.selectedIndex; |
27943 | if (index < 0) { | 27943 | if (index < 0) { |
27944 | index = 0; | 27944 | index = 0; |
27945 | } | 27945 | } |