From 60ffe66dae67b05a972e392d3b547c7e17c691e0 Mon Sep 17 00:00:00 2001 From: Val <35149642+vkservicesllc@users.noreply.github.com> Date: Wed, 7 Nov 2018 16:11:21 -0500 Subject: [PATCH] Update jsonCap.js --- ajax-requests/js/jsonCap.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ajax-requests/js/jsonCap.js b/ajax-requests/js/jsonCap.js index 38b5b7f..623e214 100644 --- a/ajax-requests/js/jsonCap.js +++ b/ajax-requests/js/jsonCap.js @@ -6,6 +6,7 @@ function captureJSON() { var div = document.getElementById('capturedJSON'), content = '', check = div.innerHTML === content; + console.log(check); if (check) { if (xhr.status >= 200 && xhr.status < 400) { var respObj = JSON.parse(xhr.responseText),