Commit fe94df7
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 a21814e commit fe94df7
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
556 | | - | |
557 | | - | |
| 556 | + | |
| 557 | + | |
558 | 558 | | |
559 | | - | |
| 559 | + | |
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
| |||
0 commit comments