Autofocus search input

This commit is contained in:
Rob Ede 2022-01-24 11:36:15 +00:00
parent 60d3597cd2
commit a8e1352d78
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
1 changed files with 5 additions and 0 deletions

View File

@ -522,6 +522,11 @@ Otherwise, have a great day =^.^=
}
scrollToLintByURL($scope);
setTimeout(function () {
var el = document.getElementById('filter-input');
if (el) { el.focus() }
}, 0);
})
.error(function (data) {
$scope.error = data;