alt-s to save and send message

This commit is contained in:
Webifi 2023-08-24 19:48:03 -05:00
parent a278d54a15
commit 7e44a63fec
1 changed files with 8 additions and 0 deletions

View File

@ -93,6 +93,14 @@
message.content = original message.content = original
editing = false editing = false
} }
if (event.altKey && event.key === 's') {
if (!editing) return
event.stopPropagation()
event.preventDefault()
exit()
checkTruncate()
setTimeout(checkTruncate, 10)
}
} }
// Double click for mobile support // Double click for mobile support