We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0937c9 commit c9f632cCopy full SHA for c9f632c
packages/kit/src/runtime/client/client.js
@@ -3020,7 +3020,7 @@ function reset_focus(url, scroll = true) {
3020
// This is also needed to restore the original hash if we're using hash routing
3021
history.replaceState(history_state, '', url);
3022
3023
- // Scroll management has already happened earlier so we need to restore
+ // If scroll management has already happened earlier, we need to restore
3024
// the scroll position after setting the sequential focus navigation starting point
3025
if (scroll) scrollTo(x, y);
3026
resetting_focus = false;
0 commit comments