Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-03-30 12:08:12 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-03-30 12:08:12 +0300
commitdf2358a5f7a8fe32285ac62054314287fb871e49 (patch)
tree7f4da32a9df0128f82d415cfab38577a2ca438fb /app/assets/javascripts/main.js
parent9e83c35c6aecec7543d24d9386bd4821c97e5310 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/main.js')
-rw-r--r--app/assets/javascripts/main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/main.js b/app/assets/javascripts/main.js
index 4bfa39f2a20..8fc54be9c28 100644
--- a/app/assets/javascripts/main.js
+++ b/app/assets/javascripts/main.js
@@ -127,6 +127,7 @@ function deferredInitialisation() {
// In case the user started searching before we bootstrapped, let's pass the search along.
const initialSearchValue = searchInputBox.value;
await initHeaderSearchApp(initialSearchValue);
+ // this is new #search input element. We need to re-find it.
document.querySelector('#search').focus();
})
.catch(() => {});