Revert "fix: validate post's text with Ctrl+Enter on PC."
This reverts commit fac6868305
.
This commit is contained in:
parent
dc58c9bd2f
commit
1201794bef
|
@ -209,7 +209,7 @@ export default Vue.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
onKeydown(e) {
|
onKeydown(e) {
|
||||||
if ((e.which == 10 || e.which == 13) && (e.ctrlKey || e.metaKey) && canPost) this.post();
|
if ((e.which == 10 || e.which == 13) && (e.ctrlKey || e.metaKey)) this.post();
|
||||||
},
|
},
|
||||||
|
|
||||||
onPaste(e) {
|
onPaste(e) {
|
||||||
|
|
Loading…
Reference in a new issue