Skip to content

Commit a8e1352

Browse files
committed
Autofocus search input
1 parent 60d3597 commit a8e1352

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)