mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
detection of virtual keyboards to disable hotkeys
- based on keystroke timing - <40ms = Virtual KB, hotkeys disabled (moved enter hotkey to RA-mods)
This commit is contained in:
@ -3843,14 +3843,6 @@ $(document).ready(function () {
|
||||
}
|
||||
});
|
||||
|
||||
$("#send_textarea").keydown(function (e) {
|
||||
if (!e.shiftKey && !e.ctrlKey && e.key == "Enter" && is_send_press == false) {
|
||||
is_send_press = true;
|
||||
e.preventDefault();
|
||||
Generate();
|
||||
}
|
||||
});
|
||||
|
||||
//menu buttons setup
|
||||
|
||||
$("#rm_button_settings").click(function () {
|
||||
|
Reference in New Issue
Block a user