diff --git a/ajax-requests/js/jsonCap.js b/ajax-requests/js/jsonCap.js index 6f09a09..c5b80fd 100644 --- a/ajax-requests/js/jsonCap.js +++ b/ajax-requests/js/jsonCap.js @@ -1,6 +1,6 @@ function captureJSON() { var xhr = new XMLHttpRequest(); - xhr.onload = funtion() { + xhr.onload = function() { if (xhr.status >= 200 && xhr.status < 400) { var div = document.getElementById('capturedJSON'), content = '',