Skip to content

Commit 47e8ce2

Browse files
authored
Fix secondary links (#1126)
1 parent 119d238 commit 47e8ce2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Elastic.Markdown/Slices/Layout/_SecondaryNav.cshtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
href="@Model.Link("/release-notes/")"
2222
@Htmx.GetHxAttributes(
2323
targetUrl: Model.Link("/release-notes/"),
24-
hxSwapOob: "#main-container"
24+
hxSwapOob: "#main-container,#secondary-nav"
2525
)
2626
>
2727
Release notes
@@ -32,7 +32,7 @@
3232
href="@Model.Link("/troubleshoot/")"
3333
@Htmx.GetHxAttributes(
3434
targetUrl: Model.Link("/troubleshoot/"),
35-
hxSwapOob: "#main-container"
35+
hxSwapOob: "#main-container,#secondary-nav"
3636
)
3737
>
3838
Troubleshoot
@@ -43,7 +43,7 @@
4343
href="@Model.Link("/reference/")"
4444
@Htmx.GetHxAttributes(
4545
Model.Link("/reference/"),
46-
hxSwapOob: "#main-container"
46+
hxSwapOob: "#main-container,#secondary-nav"
4747
)
4848
>
4949
Reference

0 commit comments

Comments
 (0)