mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-28 06:48:42 +09:00
Fix bug
This commit is contained in:
parent
238cb0077f
commit
32fc6ae2eb
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user