From 45ca698ea09deb76c1dba13995fd22504900ae68 Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Wed, 18 Feb 2015 00:16:31 +0100 Subject: Putting back contact to static page --- router.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'router.js') diff --git a/router.js b/router.js index a14a308..c498c0c 100644 --- a/router.js +++ b/router.js @@ -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); }); } -- cgit v1.2.3