mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-03 02:56:41 +00:00
updated
This commit is contained in:
parent
8c4806ac24
commit
cb98b22a57
@ -116,13 +116,5 @@ function update_main(){
|
|||||||
if ((!shiftPressed) && event.key === "Enter") {
|
if ((!shiftPressed) && event.key === "Enter") {
|
||||||
submit_form();
|
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