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 8cf4e2d..b24f20c 100644
--- a/src/module/Select.jsx
+++ b/src/module/Select.jsx
@@ -67,7 +67,7 @@ const Select = React.createClass({
67 index = 0; 67 index = 0;
68 } 68 }
69 const topOption = list.children[index]; 69 const topOption = list.children[index];
70 const to = topOption.offsetTop - select.offsetTop; 70 const to = topOption.offsetTop;
71 scrollTo(select, to, duration); 71 scrollTo(select, to, duration);
72 }, 72 },
73 73