aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXiaofeng An <futureweb2020@yandex.com>2019-02-08 11:40:54 -0500
committerXiaofeng An <futureweb2020@yandex.com>2019-02-08 11:40:54 -0500
commit59cde429b9c19cc2df0ea2b1717a5be67fc18f07 (patch)
tree3391820a1f8ddb8a9af314e1137c260638f0b3ba /src
parent63680227c1fa03db64d6dccf51af24580de01f7b (diff)
fix naming
Diffstat (limited to 'src')
-rw-r--r--src/components/post_status_form/post_status_form.js2
-rw-r--r--src/components/post_status_form/post_status_form.vue4
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">