Skip to content

Commit 3049c64

Browse files
committed
ok
1 parent c973f01 commit 3049c64

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Elastic.Markdown/Assets/pages-nav.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,12 @@ export function initNav() {
114114
keepNavPositionCallback();
115115
}, true);
116116

117-
118117
$$('a', pagesNav).forEach(a => {
119118
a.addEventListener('click', (e) => {
120119
e.preventDefault();
121120
history.pushState(null, '', a.href);
122121
const markdownContentContainer = $('.markdown-content');
123122
markdownContentContainer.innerHTML = 'loading...';
124-
// download .markdown-content from the href
125123
const url = a.href;
126124
fetch(url)
127125
.then(response => response.text())

0 commit comments

Comments
 (0)