We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c973f01 commit 3049c64Copy full SHA for 3049c64
src/Elastic.Markdown/Assets/pages-nav.ts
@@ -114,14 +114,12 @@ export function initNav() {
114
keepNavPositionCallback();
115
}, true);
116
117
-
118
$$('a', pagesNav).forEach(a => {
119
a.addEventListener('click', (e) => {
120
e.preventDefault();
121
history.pushState(null, '', a.href);
122
const markdownContentContainer = $('.markdown-content');
123
markdownContentContainer.innerHTML = 'loading...';
124
- // download .markdown-content from the href
125
const url = a.href;
126
fetch(url)
127
.then(response => response.text())
0 commit comments