Skip to content

Commit 116fe99

Browse files
authored
Apply hx-disable to the injected Elastic navbar (#1516)
1 parent a261934 commit 116fe99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elastic.Documentation.Site/Layout/_Header.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@inherits RazorSlice<Elastic.Documentation.Site.GlobalLayoutViewModel>
22
@if (Model.Features.PrimaryNavEnabled)
33
{
4-
<div id="elastic-nav"></div>
4+
<div id="elastic-nav" hx-disable="true"></div>
55
<script src="https://www.elastic.co/elastic-nav.js"></script>
66
@await RenderPartialAsync(_SecondaryNav.Create(Model))
77
}

0 commit comments

Comments
 (0)