This commit is contained in:
syuilo 2018-02-14 19:30:35 +09:00
parent 5d05a25ae2
commit 205e728025
2 changed files with 7 additions and 2 deletions

View file

@ -21,7 +21,9 @@ export default Vue.extend({
},
methods: {
openPostForm() {
document.body.appendChild(new MkPostFormWindow().$mount().$el);
document.body.appendChild(new MkPostFormWindow({
parent: this
}).$mount().$el);
},
onKeydown(e) {
if (e.target.tagName == 'INPUT' || e.target.tagName == 'TEXTAREA') return;