mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-12 14:22:45 +00:00
Auto merge of #8343 - robjtede:patch-1, r=giraffate
Autofocus search input changelog: autofocus filter input on Clippy Lints page
This commit is contained in:
commit
a26c412e28
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