Fix invalid lint ID filtering

This commit is contained in:
Guillaume Gomez 2024-10-22 22:54:29 +02:00
parent 97d13a8c0a
commit b33977b852

View file

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