diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 3568951f2..8e30264d6 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -116,7 +116,7 @@ const PostStatusForm = { } }, methods: { - postStatus () { + postStatusCopy () { this.postStatus(this.newStatus) }, postStatus (newStatus) { diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 4c3eb1591..ef3a79018 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -24,8 +24,8 @@ :drop="fileDrop" :dragoverPrevent="fileDrag" :paste="paste" - :keydownMetaEnter="postStatus" - :keyupCtrlEnter="postStatus"/> + :keydownMetaEnter="postStatusCopy" + :keyupCtrlEnter="postStatusCopy"/>