diff options
Diffstat (limited to 'router.js')
-rw-r--r-- | router.js | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -24,12 +24,9 @@ function router() { var url = location.hash.slice(2) || 'presentation'; - var contentElement = document.getElementById('content'); fetchFile('Pages/' + url + '.md', function(contentMd) { - fetchFile('Pages/contact.html', function(contactHtml) { - var contentHtml = markdown.toHTML(contentMd); - contentElement.innerHTML = contentHtml + contactHtml; - }); + var contentElement = document.getElementById('content'); + contentElement.innerHTML = markdown.toHTML(contentMd); }); } |