Skip to content

Commit a26c412

Browse files
committed
Auto merge of rust-lang#8343 - robjtede:patch-1, r=giraffate
Autofocus search input changelog: autofocus filter input on Clippy Lints page
2 parents 60d3597 + a8e1352 commit a26c412

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

util/gh-pages/index.html

+5
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,11 @@ <h2 class="panel-title">
522522
}
523523

524524
scrollToLintByURL($scope);
525+
526+
setTimeout(function () {
527+
var el = document.getElementById('filter-input');
528+
if (el) { el.focus() }
529+
}, 0);
525530
})
526531
.error(function (data) {
527532
$scope.error = data;

0 commit comments

Comments
 (0)