refactor: remove comments from client index.ts
This commit is contained in:
parent
6b1066975a
commit
5cc1a6f072
1 changed files with 0 additions and 3 deletions
|
@ -107,7 +107,6 @@ function toggleLog () { // eslint-disable-line
|
||||||
sessionLogEnable = false;
|
sessionLogEnable = false;
|
||||||
loggedData = true;
|
loggedData = true;
|
||||||
logBtn.innerHTML = '<i class="fas fa-clipboard fa-fw"></i> Start Log';
|
logBtn.innerHTML = '<i class="fas fa-clipboard fa-fw"></i> Start Log';
|
||||||
// console.log(`stopping log, ${sessionLogEnable}`);
|
|
||||||
currentDate = new Date();
|
currentDate = new Date();
|
||||||
sessionLog = `${sessionLog}\r\n\r\nLog End for ${sessionFooter}: ${currentDate.getFullYear()}/${
|
sessionLog = `${sessionLog}\r\n\r\nLog End for ${sessionFooter}: ${currentDate.getFullYear()}/${
|
||||||
currentDate.getMonth() + 1
|
currentDate.getMonth() + 1
|
||||||
|
@ -121,7 +120,6 @@ function toggleLog () { // eslint-disable-line
|
||||||
logBtn.innerHTML = '<i class="fas fa-cog fa-spin fa-fw"></i> Stop Log';
|
logBtn.innerHTML = '<i class="fas fa-cog fa-spin fa-fw"></i> Stop Log';
|
||||||
downloadLogBtn.style.color = '#000';
|
downloadLogBtn.style.color = '#000';
|
||||||
downloadLogBtn.addEventListener('click', downloadLog);
|
downloadLogBtn.addEventListener('click', downloadLog);
|
||||||
// console.log(`starting log, ${sessionLogEnable}`);
|
|
||||||
currentDate = new Date();
|
currentDate = new Date();
|
||||||
sessionLog = `Log Start for ${sessionFooter}: ${currentDate.getFullYear()}/${
|
sessionLog = `Log Start for ${sessionFooter}: ${currentDate.getFullYear()}/${
|
||||||
currentDate.getMonth() + 1
|
currentDate.getMonth() + 1
|
||||||
|
@ -134,7 +132,6 @@ function toggleLog () { // eslint-disable-line
|
||||||
// replay password to server, requires
|
// replay password to server, requires
|
||||||
function replayCredentials () { // eslint-disable-line
|
function replayCredentials () { // eslint-disable-line
|
||||||
socket.emit('control', 'replayCredentials');
|
socket.emit('control', 'replayCredentials');
|
||||||
// console.log('replaying credentials');
|
|
||||||
term.focus();
|
term.focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue