summaryrefslogtreecommitdiff
path: root/src/client/app/common
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-05-29 15:38:48 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-05-29 15:38:48 +0900
commita426f4c7bdad92a2153c5e228003ee3a2170d43d (patch)
tree0294fec50b830a04da90e53ecfb3820a38dda791 /src/client/app/common
parent:art: (diff)
downloadmisskey-a426f4c7bdad92a2153c5e228003ee3a2170d43d.tar.gz
misskey-a426f4c7bdad92a2153c5e228003ee3a2170d43d.tar.bz2
misskey-a426f4c7bdad92a2153c5e228003ee3a2170d43d.zip
nanka iroiro
Diffstat (limited to 'src/client/app/common')
-rw-r--r--src/client/app/common/views/components/media-list.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/common/views/components/media-list.vue b/src/client/app/common/views/components/media-list.vue
index c6cb667165..2f8a1943ad 100644
--- a/src/client/app/common/views/components/media-list.vue
+++ b/src/client/app/common/views/components/media-list.vue
@@ -23,7 +23,7 @@ export default Vue.extend({
},
mounted() {
// for Safari bug
- this.$refs.grid.style.height = `${this.$refs.grid.clientHeight}px`;
+ this.$refs.grid.style.height = this.$refs.grid.clientHeight ? `${this.$refs.grid.clientHeight}px` : '128px';
}
});
</script>