Prevent rollover on keyboard left swipe if repeating

Closes #3636
This commit is contained in:
Cohee
2025-03-09 13:42:30 +02:00
parent b52b11d7bb
commit 6aaa533410
2 changed files with 15 additions and 3 deletions

View File

@@ -1143,7 +1143,7 @@ export function initRossMods() {
$('#shadow_select_chat_popup').css('display') === 'none' &&
!isInputElementInFocus()
) {
$('.swipe_left:last').click();
$('.swipe_left:last').trigger('click', { source: 'keyboard', repeated: event.repeat });
return;
}
}