1
0
mirror of https://github.com/k4m4/movies-for-hackers.git synced 2024-11-23 14:34:55 +00:00

Ajax get that works on github.io

This commit is contained in:
MichaelCook 2017-02-23 14:52:06 +00:00
parent 54824436b3
commit d7fe8146e3

View File

@ -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 = [];