Update jsonCap.js

This commit is contained in:
Val
2018-11-07 19:51:44 -05:00
committed by GitHub
parent d6c5c1608d
commit b8a12a13c4

View File

@@ -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;