From df2358a5f7a8fe32285ac62054314287fb871e49 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 30 Mar 2022 09:08:12 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/assets/javascripts/main.js | 1 + 1 file changed, 1 insertion(+) (limited to 'app/assets/javascripts/main.js') 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(() => {}); -- cgit v1.2.3