Commit 58e2feb
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 49ceba8 commit 58e2feb
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
551 | | - | |
| 550 | + | |
| 551 | + | |
552 | 552 | | |
553 | | - | |
| 553 | + | |
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
| |||
0 commit comments