Skip to content

Commit a607b9f

Browse files
committed
.
1 parent 8232b2f commit a607b9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.devcontainer/api/apiRequest.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
//it's a class so we habve to make it's object first
1414
const xhr = new XMLHttpRequest();
1515
xhr.open('GET' , requestURl); //but it doesn't continuously track the state
16-
xhr.onreadytstatechange = function(){
16+
xhr.onreadystatechange = function(){
1717
console.log(xhr.readyState);
1818
if(xhr.readyState === 4){
1919
const data = JSON.parse(this.responseText);

0 commit comments

Comments
 (0)