Skip to content

Commit b33977b

Browse files
Fix invalid lint ID filtering
1 parent 97d13a8 commit b33977b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/gh-pages/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ function scrollToLint(lintId) {
512512

513513
// If the page we arrive on has link to a given lint, we scroll to it.
514514
function scrollToLintByURL() {
515-
const lintId = window.location.hash.substring(2);
515+
const lintId = window.location.hash.substring(1);
516516
if (lintId.length > 0) {
517517
scrollToLint(lintId);
518518
}

0 commit comments

Comments
 (0)