From 6b27448ee1d62169ce04acbde00232763feabb5e Mon Sep 17 00:00:00 2001 From: MichaelCook Date: Thu, 23 Feb 2017 14:52:32 +0000 Subject: [PATCH] Housekeeping --- webapp/js/app.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/webapp/js/app.js b/webapp/js/app.js index d41433a..fa19a82 100644 --- a/webapp/js/app.js +++ b/webapp/js/app.js @@ -38,7 +38,7 @@ objectifyMarkdownNotWomen.table = function(header, body) { movies = [{}]; }; -client.open('GET', window.location.href + '/README.md'); +client.open('GET', window.location.href + 'README.md'); client.onreadystatechange = function(e) { // Whipe movies and collections as this'll run a bunch of times moviesCollection = []; @@ -56,8 +56,3 @@ client.onreadystatechange = function(e) { }); }; client.send(); - -function baseUrl() { - var href = window.location.href.split('/'); - return href[0]+'//'+href[2]+'/'; -}