mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-27 09:27:45 +01:00
skill issue: dont hide draggables on every keydown
This commit is contained in:
parent
9f15e67856
commit
751c0723dc
@ -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)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user