Improve usability

This commit is contained in:
syuilo 2018-09-05 13:06:49 +09:00
parent 7c7067edbc
commit e6d8e070f1

View file

@ -1,7 +1,7 @@
<template> <template>
<div class="ulveipglmagnxfgvitaxyszerjwiqmwl"> <div class="ulveipglmagnxfgvitaxyszerjwiqmwl">
<div class="bg" ref="bg" @click="onBgClick"></div> <div class="bg" ref="bg"></div>
<div class="main" ref="main" @click.self="onBgClick"> <div class="main" ref="main">
<mk-post-form ref="form" <mk-post-form ref="form"
:reply="reply" :reply="reply"
:renote="renote" :renote="renote"
@ -83,11 +83,6 @@ export default Vue.extend({
}); });
}, },
onBgClick() {
this.$emit('cancel');
this.close();
},
onPosted() { onPosted() {
this.$emit('posted'); this.$emit('posted');
this.close(); this.close();