mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-22 20:53:21 +00:00
Autofocus search input
This commit is contained in:
parent
60d3597cd2
commit
a8e1352d78
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue