Update jsonCap.js
This commit is contained in:
@@ -26,6 +26,8 @@ function captureJSON() {
|
|||||||
} else {
|
} else {
|
||||||
console.log('Connection to Server succeeded. Content was not received due to error.');
|
console.log('Connection to Server succeeded. Content was not received due to error.');
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
btnTxt = btnTxt.replace('hide', 'capture');
|
||||||
}
|
}
|
||||||
div.innerHTML = content;
|
div.innerHTML = content;
|
||||||
btn.textContent = btnTxt;
|
btn.textContent = btnTxt;
|
||||||
|
|||||||
Reference in New Issue
Block a user