Skip to content

Commit 9ca7223

Browse files
authored
Load elastic nav asynchronously (#1525)
1 parent c835f8d commit 9ca7223

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
@@ -2,7 +2,7 @@
22
@if (Model.Features.PrimaryNavEnabled)
33
{
44
<div id="elastic-nav" hx-disable="true"></div>
5-
<script src="https://www.elastic.co/elastic-nav.js"></script>
5+
<script src="https://www.elastic.co/elastic-nav.js" async></script>
66
@await RenderPartialAsync(_SecondaryNav.Create(Model))
77
}
88
else

0 commit comments

Comments
 (0)