mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-03-04 15:27:21 +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);
|
scrollToLintByURL($scope);
|
||||||
|
|
||||||
|
setTimeout(function () {
|
||||||
|
var el = document.getElementById('filter-input');
|
||||||
|
if (el) { el.focus() }
|
||||||
|
}, 0);
|
||||||
})
|
})
|
||||||
.error(function (data) {
|
.error(function (data) {
|
||||||
$scope.error = data;
|
$scope.error = data;
|
||||||
|
|
Loading…
Add table
Reference in a new issue