diff options
Diffstat (limited to 'script.js')
-rw-r--r-- | script.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -26,9 +26,8 @@ var url = location.hash.slice(2) || 'presentation'; var contentElement = document.getElementById('content'); fetchFile('Pages/' + url + '.md', function(contentMd) { - fetchFile('Pages/contact.md', function(contactMd) { + fetchFile('Pages/contact.html', function(contactHtml) { var contentHtml = markdown.toHTML(contentMd); - var contactHtml = '<div class=contact>' + markdown.toHTML(contactMd) + '</div>'; contentElement.innerHTML = contentHtml + contactHtml; }); }); |