mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Unblock Ctrl+1-9 keystrokes
This commit is contained in:
@ -1202,7 +1202,7 @@ export function initRossMods() {
|
|||||||
|
|
||||||
if (event.ctrlKey && /^[1-9]$/.test(event.key)) {
|
if (event.ctrlKey && /^[1-9]$/.test(event.key)) {
|
||||||
// This will eventually be to trigger quick replies
|
// This will eventually be to trigger quick replies
|
||||||
event.preventDefault();
|
// event.preventDefault();
|
||||||
console.log('Ctrl +' + event.key + ' pressed!');
|
console.log('Ctrl +' + event.key + ' pressed!');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user