summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-04-15 16:29:35 +0100
committerPhil Hughes <me@iamphill.com>2016-04-26 09:03:04 +0100
commitd369d529380167ac926ec916eea85419ee65e5b9 (patch)
tree00858958dfff0ee3b0646fda1b72c4255dc1af52 /app
parent6ac549c1dea7a30d6c2245024879ec5761c40061 (diff)
downloadgitlab-ce-d369d529380167ac926ec916eea85419ee65e5b9.tar.gz
Focus field
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/search.js.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/search.js.coffee b/app/assets/javascripts/search.js.coffee
index f435e2a33a4..661e1195f60 100644
--- a/app/assets/javascripts/search.js.coffee
+++ b/app/assets/javascripts/search.js.coffee
@@ -72,3 +72,4 @@ class @Search
$('.js-search-input')
.val ''
.trigger 'keyup'
+ .focus()