From e5dca1d640b8ab88858c657b49d002bd934b8b1c Mon Sep 17 00:00:00 2001 From: Val <35149642+vkservicesllc@users.noreply.github.com> Date: Thu, 8 Nov 2018 09:24:20 -0500 Subject: [PATCH] Update xmlCap.js --- ajax-requests/js/xmlCap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ajax-requests/js/xmlCap.js b/ajax-requests/js/xmlCap.js index bd448e2..ec61747 100644 --- a/ajax-requests/js/xmlCap.js +++ b/ajax-requests/js/xmlCap.js @@ -11,8 +11,8 @@ function captureXML() { check = div.innerHTML == content; if (check) { if (xhr.status >= 200 && xhr.status < 400) { - var data = xhr.responseXML, - c; + var data = xhr.responseXML; + } btnTxt = btnTxt.replace('capture', 'hide'); } else {