Update jsonCap.js
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
function captureJSON() {
|
function captureJSON() {
|
||||||
var xhr = new XMLHttpRequest();
|
var xhr = new XMLHttpRequest();
|
||||||
xhr.onload = funtion() {
|
xhr.onload = function() {
|
||||||
if (xhr.status >= 200 && xhr.status < 400) {
|
if (xhr.status >= 200 && xhr.status < 400) {
|
||||||
var div = document.getElementById('capturedJSON'),
|
var div = document.getElementById('capturedJSON'),
|
||||||
content = '',
|
content = '',
|
||||||
|
|||||||
Reference in New Issue
Block a user