fixing relative links

This commit is contained in:
Ken
2019-03-04 19:01:59 -08:00
parent 1c65b231f2
commit f1545d02be
17 changed files with 17 additions and 17 deletions

View File

@@ -24,7 +24,7 @@ async function run() {
if (div) {
const response = await fetch(div.dataset['src'] || '../README.md');
const markdownText = await response.text();
div.innerHTML = marked(markdownText, { baseUrl: '../' });
div.innerHTML = marked(markdownText);
restoreScroll(div);
div.addEventListener('scroll', evt => {