diff --git a/core/src/main/resources/jenkins/install/SetupWizard/setInitialRootUrlFieldValue.js b/core/src/main/resources/jenkins/install/SetupWizard/setInitialRootUrlFieldValue.js index 9faabe82815b..64808b501098 100644 --- a/core/src/main/resources/jenkins/install/SetupWizard/setInitialRootUrlFieldValue.js +++ b/core/src/main/resources/jenkins/install/SetupWizard/setInitialRootUrlFieldValue.js @@ -1,4 +1,4 @@ -var rootUrlField = $("root-url"); +var rootUrlField = document.getElementById("root-url"); rootUrlField.focus(); rootUrlField.onkeydown = function (event) {