From d7fe8146e3e37cffcc7cd3b8a6ca2627731e5e74 Mon Sep 17 00:00:00 2001 From: MichaelCook Date: Thu, 23 Feb 2017 14:52:06 +0000 Subject: [PATCH] Ajax get that works on github.io --- webapp/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/js/app.js b/webapp/js/app.js index ee7d562..d41433a 100644 --- a/webapp/js/app.js +++ b/webapp/js/app.js @@ -38,7 +38,7 @@ objectifyMarkdownNotWomen.table = function(header, body) { movies = [{}]; }; -client.open('GET', baseUrl() + '/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 = [];