Allows ctrl+enter to also post a message (in addition to shift+enter)

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
feature/797/interact-with-remote-item
Cyrille Bollu 2019-10-04 16:23:11 +02:00
rodzic 18f1def34e
commit d055a2efcf
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -766,7 +766,7 @@ export default {
return data
},
keyup(event) {
if (event.shiftKey) {
if (event.shiftKey || event.ctrlKey) {
this.createPost(event)
}
},