This commit is contained in:
こぴなたみぽ 2018-02-07 18:21:37 +09:00
parent 07efc8e150
commit 1a6a72591f
30 changed files with 54 additions and 67 deletions

View file

@ -132,7 +132,7 @@
});
this.trigger('closed');
this.unmount();
this.$destroy();
};
</script>
</mk-contextmenu>

View file

@ -69,7 +69,7 @@
opacity: 0,
duration: 300,
easing: 'linear',
complete: () => this.unmount()
complete: () => this.$destroy()
});
};

View file

@ -130,7 +130,7 @@
scale: 0.8,
duration: 300,
easing: [ 0.5, -0.5, 1, 0.5 ],
complete: () => this.unmount()
complete: () => this.$destroy()
});
};

View file

@ -60,7 +60,7 @@
show_donation: false
});
this.unmount();
this.$destroy();
};
</script>
</mk-donation>

View file

@ -18,7 +18,7 @@
this.on('mount', () => {
this.$refs.ctx.on('closed', () => {
this.trigger('closed');
this.unmount();
this.$destroy();
});
});

View file

@ -43,7 +43,7 @@
this.on('mount', () => {
this.$refs.window.on('closed', () => {
this.unmount();
this.$destroy();
});
this.api('drive').then(info => {

View file

@ -50,7 +50,7 @@
this.on('mount', () => {
this.$refs.ctx.on('closed', () => {
this.trigger('closed');
this.unmount();
this.$destroy();
});
});

View file

@ -30,7 +30,7 @@
this.$refs.ctx.on('closed', () => {
this.trigger('closed');
this.unmount();
this.$destroy();
});
};

View file

@ -163,7 +163,7 @@
};
this.close = () => {
this.unmount();
this.$destroy();
};
</script>
</mk-following-setuper>

View file

@ -165,7 +165,7 @@
opacity: 0,
duration: 100,
easing: 'linear',
complete: () => this.unmount()
complete: () => this.$destroy()
});
};
</script>

View file

@ -142,7 +142,7 @@
});
this.$refs.window.on('closed', () => {
this.unmount();
this.$destroy();
});
});

View file

@ -25,7 +25,7 @@
this.on('mount', () => {
this.$refs.window.on('closed', () => {
this.unmount();
this.$destroy();
});
});
</script>

View file

@ -21,7 +21,7 @@
<script>
this.on('mount', () => {
this.$refs.window.on('closed', () => {
this.unmount();
this.$destroy();
});
this.$refs.window.refs.index.on('navigate-user', user => {

View file

@ -45,7 +45,7 @@
this.$refs.window.refs.form.focus();
this.$refs.window.on('closed', () => {
this.unmount();
this.$destroy();
});
this.$refs.window.refs.form.on('post', () => {

View file

@ -79,7 +79,7 @@
this.on('mount', () => {
this.$refs.window.on('closed', () => {
this.unmount();
this.$destroy();
});
});

View file

@ -36,7 +36,7 @@
document.addEventListener('keydown', this.onDocumentKeydown);
this.$refs.window.on('closed', () => {
this.unmount();
this.$destroy();
});
});

View file

@ -153,7 +153,7 @@
});
this.$refs.window.on('closed', () => {
this.unmount();
this.$destroy();
});
});

View file

@ -96,7 +96,7 @@
this.on('mount', () => {
this.$refs.window.on('closed', () => {
this.unmount();
this.$destroy();
});
});

View file

@ -42,7 +42,7 @@
this.close = e => {
e.preventDefault();
e.stopPropagation();
this.unmount();
this.$destroy();
};
</script>
</mk-set-avatar-suggestion>

View file

@ -42,7 +42,7 @@
this.close = e => {
e.preventDefault();
e.stopPropagation();
this.unmount();
this.$destroy();
};
</script>
</mk-set-banner-suggestion>

View file

@ -19,7 +19,7 @@
<script>
this.on('mount', () => {
this.$refs.window.on('closed', () => {
this.unmount();
this.$destroy();
});
});

View file

@ -888,7 +888,7 @@
translateY: -64,
duration: 500,
easing: 'easeInElastic',
complete: () => this.unmount()
complete: () => this.$destroy()
});
}, 6000);
});

View file

@ -142,7 +142,7 @@
'margin-top': '-8px',
duration: 200,
easing: 'easeOutQuad',
complete: () => this.unmount()
complete: () => this.$destroy()
});
};
</script>