Update jsonCap.js
This commit is contained in:
@@ -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 = '',
|
||||||
|
|||||||
Reference in New Issue
Block a user