mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-21 21:27:47 +00:00
updated
This commit is contained in:
parent
8c4806ac24
commit
cb98b22a57
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
Loading…
Reference in New Issue
Block a user