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
@ -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…
x
Reference in New Issue
Block a user