diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 3568951f..8e30264d 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 4c3eb159..ef3a7901 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"/>