1
0
mirror of synced 2024-11-17 11:37:13 +01:00

Update ControlsWaiter.js

This commit is contained in:
n1474335 2017-05-23 16:53:37 +01:00 committed by GitHub
parent 9055fc72d2
commit 83878d6b05

View File

@ -355,9 +355,11 @@ ControlsWaiter.prototype.supportButtonClick = function() {
const reportBugInfo = document.getElementById("report-bug-info"); const reportBugInfo = document.getElementById("report-bug-info");
const saveLink = this.generateStateUrl(true, true, null, "https://gchq.github.io/CyberChef/"); const saveLink = this.generateStateUrl(true, true, null, "https://gchq.github.io/CyberChef/");
if (reportBugInfo) {
reportBugInfo.innerHTML = "* CyberChef compile time: " + COMPILE_TIME + "\n" + reportBugInfo.innerHTML = "* CyberChef compile time: " + COMPILE_TIME + "\n" +
"* User-Agent: \n" + navigator.userAgent + "\n" + "* User-Agent: \n" + navigator.userAgent + "\n" +
"* [Link to reproduce](" + saveLink + ")\n\n"; "* [Link to reproduce](" + saveLink + ")\n\n";
}
}; };
export default ControlsWaiter; export default ControlsWaiter;