From a426f4c7bdad92a2153c5e228003ee3a2170d43d Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 29 May 2018 15:38:48 +0900 Subject: nanka iroiro --- src/client/app/common/views/components/media-list.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/app/common') 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'; } }); -- cgit v1.2.3-freya