aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/module/Header.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module/Header.jsx b/src/module/Header.jsx
index 41099cc..a926e98 100644
--- a/src/module/Header.jsx
+++ b/src/module/Header.jsx
@@ -170,7 +170,7 @@ const Header = React.createClass({
170 }, 170 },
171 171
172 selectRange() { 172 selectRange() {
173 this.refs.input.focus(); 173 this.refs.input.select();
174 if (this.props.currentSelectPanel && this.refs.input.value) { 174 if (this.props.currentSelectPanel && this.refs.input.value) {
175 let selectionRangeStart = 0; 175 let selectionRangeStart = 0;
176 let selectionRangeEnd = 0; 176 let selectionRangeEnd = 0;