mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-01 08:18:05 +09:00
Fix bug
This commit is contained in:
parent
9125d39fac
commit
323727893a
@ -50,6 +50,9 @@ export default Vue.extend({
|
|||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
window.removeEventListener('resize', this.size);
|
window.removeEventListener('resize', this.size);
|
||||||
},
|
},
|
||||||
|
activated() {
|
||||||
|
this.size();
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
previewable(file) {
|
previewable(file) {
|
||||||
return file.type.startsWith('video') || file.type.startsWith('image');
|
return file.type.startsWith('video') || file.type.startsWith('image');
|
||||||
|
Loading…
Reference in New Issue
Block a user