Commit 9cf0f0c
Fix locale picker navigation on step.html pages
The JS was using index.html-specific path logic that broke on step.html.
Now uses lastIndexOf('/') to correctly insert locale before the filename:
/repo/step.html → /repo/es/step.html
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent ebdf83b commit 9cf0f0c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
| 372 | + | |
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
| |||
0 commit comments