Update jsonCap.js

This commit is contained in:
Val
2018-11-07 16:45:37 -05:00
committed by GitHub
parent f3bf2467bd
commit bddadcf499

View File

@@ -3,7 +3,7 @@ console.log('jsonCap.js has loaded...');
function captureJSON() { function captureJSON() {
var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
xhr.onload = function() { xhr.onload = function() {
var btn = document.getElementsByTag('button')[0], var btn = document.getElementsByTagName('button')[0],
btnTxt = btn.textContent, btnTxt = btn.textContent,
div = document.getElementById('capturedJSON'), div = document.getElementById('capturedJSON'),
content = '', content = '',