Skip to content

Commit c9f632c

Browse files
PatrickGteemingc
andauthored
Update packages/kit/src/runtime/client/client.js
Co-authored-by: Tee Ming <[email protected]>
1 parent e0937c9 commit c9f632c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/kit/src/runtime/client/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3020,7 +3020,7 @@ function reset_focus(url, scroll = true) {
30203020
// This is also needed to restore the original hash if we're using hash routing
30213021
history.replaceState(history_state, '', url);
30223022

3023-
// Scroll management has already happened earlier so we need to restore
3023+
// If scroll management has already happened earlier, we need to restore
30243024
// the scroll position after setting the sequential focus navigation starting point
30253025
if (scroll) scrollTo(x, y);
30263026
resetting_focus = false;

0 commit comments

Comments
 (0)