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: {
postStatus () {
postStatusCopy () {
this.postStatus(this.newStatus)
},
postStatus (newStatus) {

View file

@ -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">