This commit is contained in:
saloui 2023-04-28 14:52:17 +02:00
parent 8c4806ac24
commit cb98b22a57

View File

@ -116,13 +116,5 @@ function update_main(){
if ((!shiftPressed) && event.key === "Enter") {
submit_form();
}
// Restore original functionality for the remaining cases
else if (!shiftPressed && ctrlPressed) {
setTimeout(() => {
globals.userInput.focus();
contentEditable.value += event.data;
lastValue.innerHTML = globals.userInput.value;
}, 0);
}
});
}