summaryrefslogtreecommitdiff
path: root/src/client/components
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2020-02-20 23:07:03 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2020-02-20 23:07:03 +0900
commit32fc6ae2eb9fdf7ea6095b4b889f88698735f86e (patch)
treebcafa86db8d09e4064d65a32b285e01e8c4b515e /src/client/components
parentFix bug (diff)
downloadsharkey-32fc6ae2eb9fdf7ea6095b4b889f88698735f86e.tar.gz
sharkey-32fc6ae2eb9fdf7ea6095b4b889f88698735f86e.tar.bz2
sharkey-32fc6ae2eb9fdf7ea6095b4b889f88698735f86e.zip
Fix bug
Diffstat (limited to 'src/client/components')
-rw-r--r--src/client/components/media-list.vue3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/components/media-list.vue b/src/client/components/media-list.vue
index 6ce7df276f..fb8824c5b4 100644
--- a/src/client/components/media-list.vue
+++ b/src/client/components/media-list.vue
@@ -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');