removed some console logs
This commit is contained in:
@@ -19,7 +19,6 @@ async function sendCommand(e){
|
||||
|
||||
if (command.startsWith("cd")){
|
||||
let commandSplit = command.split(" ");
|
||||
console.log(commandSplit)
|
||||
try {
|
||||
if (commandSplit[1].startsWith("/")){
|
||||
currentFolder = commandSplit[1];
|
||||
@@ -59,9 +58,6 @@ async function sendCommand(e){
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
console.log("COMMAND SENT: "+command);
|
||||
|
||||
try {
|
||||
// Construct the URL with the command parameter in the query string
|
||||
const url = "/execute?command=" + encodeURIComponent(command) + "¤tDir=" + encodeURIComponent(currentFolder);
|
||||
@@ -101,7 +97,6 @@ function deactivateAllStuff() {
|
||||
input.disabled = true;
|
||||
input.setAttribute("id", "");
|
||||
|
||||
console.log("deactivated inputs");
|
||||
}
|
||||
|
||||
|
||||
@@ -116,7 +111,6 @@ function handleExecutionResponse(response) {
|
||||
|
||||
commandResponse.appendChild(textElement)
|
||||
terminalContainer.appendChild(commandResponse);
|
||||
console.log("created response element")
|
||||
|
||||
|
||||
//create new terminal line.
|
||||
|
||||
Reference in New Issue
Block a user