mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 04:03:10 +02:00
Fix bug
This commit is contained in:
parent
0dc459be3d
commit
171dd848da
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@
|
|||
};
|
||||
|
||||
this.onkeydown = e => {
|
||||
if (e.which == 10 || e.which == 13) this.post();
|
||||
if ((e.which == 10 || e.which == 13) && (e.ctrlKey || e.metaKey)) this.post();
|
||||
};
|
||||
|
||||
this.post = () => {
|
||||
|
|
Loading…
Reference in a new issue