diff options
| author | pw3t <romain@berthor.fr> | 2014-01-03 19:00:37 +0100 |
|---|---|---|
| committer | pw3t <romain@berthor.fr> | 2014-01-03 19:00:37 +0100 |
| commit | 04e7075c88b17d7c54e495dd48ca29064a042b82 (patch) | |
| tree | 16eb65822e85761681ed8bd62f0af2ffe20bd6f3 /searx/static | |
| parent | efb6eca39e9dd851645f76bd72ac076f61a11c09 (diff) | |
| parent | b1c6b0a3f15576722743fe49ab02cd80301fcfd9 (diff) | |
Merge branch 'master' of https://github.com/asciimoo/searx
Diffstat (limited to 'searx/static')
| -rw-r--r-- | searx/static/js/searx.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/static/js/searx.js b/searx/static/js/searx.js index 5eb880f65..7b224a17f 100644 --- a/searx/static/js/searx.js +++ b/searx/static/js/searx.js @@ -17,7 +17,7 @@ addListener(w, 'load', function () { var qinput = d.getElementById('q'); - if (qinput !== null) { + if (qinput !== null && qinput.value === "") { addListener(qinput, 'focus', placeCursorAtEnd); qinput.focus(); } |