mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
skill issue: dont hide draggables on every keydown
This commit is contained in:
@@ -1122,13 +1122,14 @@ export function initRossMods() {
|
|||||||
$("#rightNavDrawerIcon").trigger('click');
|
$("#rightNavDrawerIcon").trigger('click');
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if ($(".draggable").is(":visible")) {
|
||||||
|
// Remove the first matched element
|
||||||
|
$('.draggable:first').remove();
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($(".draggable").is(":visible")) {
|
|
||||||
// Remove the first matched element
|
|
||||||
$('.draggable:first').remove();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (event.ctrlKey && /^[1-9]$/.test(event.key)) {
|
if (event.ctrlKey && /^[1-9]$/.test(event.key)) {
|
||||||
|
Reference in New Issue
Block a user