diff options
| author | Xiaofeng An <futureweb2020@yandex.com> | 2019-02-08 11:40:54 -0500 |
|---|---|---|
| committer | Xiaofeng An <futureweb2020@yandex.com> | 2019-02-08 11:40:54 -0500 |
| commit | 59cde429b9c19cc2df0ea2b1717a5be67fc18f07 (patch) | |
| tree | 3391820a1f8ddb8a9af314e1137c260638f0b3ba | |
| parent | 63680227c1fa03db64d6dccf51af24580de01f7b (diff) | |
fix naming
| -rw-r--r-- | src/components/post_status_form/post_status_form.js | 2 | ||||
| -rw-r--r-- | src/components/post_status_form/post_status_form.vue | 4 |
2 files changed, 3 insertions, 3 deletions
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"/> <div class="visibility-tray"> <span class="text-format" v-if="formattingOptionsEnabled"> <label for="post-content-type" class="select"> |
