Fix bug
This commit is contained in:
parent
0dc459be3d
commit
171dd848da
|
@ -73,7 +73,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
this.onkeydown = e => {
|
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 = () => {
|
this.post = () => {
|
||||||
|
|
Loading…
Reference in New Issue