Improve usability

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

View File

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