add ctrl+Enter support to orgies
parent
a571b5dd71
commit
22f2273c08
|
@ -6,3 +6,10 @@ function remove_orgy(t, chat_id, created_utc) {
|
|||
}
|
||||
);
|
||||
}
|
||||
|
||||
document.addEventListener('keydown', (e) => {
|
||||
if (!((e.ctrlKey || e.metaKey) && e.key === "Enter"))
|
||||
return;
|
||||
|
||||
document.getElementById('start-orgy').click();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue