Update index.html

master
sfeakes 2018-06-25 16:35:30 -05:00 committed by GitHub
parent b3cbbaddbb
commit d4cb942a75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -327,10 +327,12 @@
} }
}; };
if (type == null ) { if (type == null ) {
http.open('GET', location.href + '?type=read', true); //http.open('GET', location.href + '?type=read', true);
http.open('GET', location.href + '.read.json', true);
http.send(null); http.send(null);
} else if (type == 'firstload') { } else if (type == 'firstload') {
http.open('GET', location.href + '?type=firstload', true); //http.open('GET', location.href + '?type=firstload', true);
http.open('GET', location.href + '.firstload.json', true);
http.send(null); http.send(null);
} else if (type != null) { } else if (type != null) {
clearTimeout(_poller); clearTimeout(_poller);