diff options
author | Joris Guyonvarch | 2015-02-18 00:16:31 +0100 |
---|---|---|
committer | Joris Guyonvarch | 2015-02-18 00:16:31 +0100 |
commit | 45ca698ea09deb76c1dba13995fd22504900ae68 (patch) | |
tree | 15007ab878ec23b423790fe4321e4d9212a7021b /router.js | |
parent | ed1c7969bdaa0adac6f780894ced142fdfc470ba (diff) |
Putting back contact to static page
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); }); } |