1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-21 14:09:25 -05:00
This commit is contained in:
syuilo 2020-02-20 23:07:03 +09:00
parent 238cb0077f
commit 32fc6ae2eb

View file

@ -50,6 +50,9 @@ export default Vue.extend({
beforeDestroy() {
window.removeEventListener('resize', this.size);
},
activated() {
this.size();
},
methods: {
previewable(file) {
return file.type.startsWith('video') || file.type.startsWith('image');