fix naming

This commit is contained in:
Xiaofeng An 2019-02-08 11:40:54 -05:00
parent 63680227c1
commit 59cde429b9
2 changed files with 3 additions and 3 deletions

View file

@ -116,7 +116,7 @@ const PostStatusForm = {
} }
}, },
methods: { methods: {
postStatus () { postStatusCopy () {
this.postStatus(this.newStatus) this.postStatus(this.newStatus)
}, },
postStatus (newStatus) { postStatus (newStatus) {

View file

@ -24,8 +24,8 @@
:drop="fileDrop" :drop="fileDrop"
:dragoverPrevent="fileDrag" :dragoverPrevent="fileDrag"
:paste="paste" :paste="paste"
:keydownMetaEnter="postStatus" :keydownMetaEnter="postStatusCopy"
:keyupCtrlEnter="postStatus"/> :keyupCtrlEnter="postStatusCopy"/>
<div class="visibility-tray"> <div class="visibility-tray">
<span class="text-format" v-if="formattingOptionsEnabled"> <span class="text-format" v-if="formattingOptionsEnabled">
<label for="post-content-type" class="select"> <label for="post-content-type" class="select">