Skip to content

Commit

Permalink
deleted unneccecary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Woody committed Nov 7, 2020
1 parent f4368ee commit c701f0e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions data/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,6 @@ <h1 class="center-align">Settings</h5>
xhr.open("POST", '/json', true);
//Send the proper header information along with the request
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xhr.onreadystatechange = function () { // Call a function when the state changes.
if (this.readyState === XMLHttpRequest.DONE && this.status === 200) {
// Request finished. Do processing here.
}
}
xhr.send("json=" + json);
}

Expand Down

0 comments on commit c701f0e

Please # to comment.