diff --git a/src/js/setupdns.js b/src/js/setupdns.js index 433af81f1..ee46112ac 100644 --- a/src/js/setupdns.js +++ b/src/js/setupdns.js @@ -1,7 +1,6 @@ 'use strict'; -/* global tld:false */ -/* global angular:false */ +/* global $, tld, angular */ // create main application module var app = angular.module('Application', ['angular-md5', 'ui-notification', 'ui.bootstrap']); @@ -279,6 +278,8 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f $scope.provider = status.provider; $scope.webServerOrigin = status.webServerOrigin; $scope.state = 'initialized'; + + setTimeout(function () { $("[autofocus]:first").focus(); }, 100); }); }