Commit 8f40ec6
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 3ec23f9 commit 8f40ec6
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
516 | | - | |
| 515 | + | |
| 516 | + | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| |||
0 commit comments