From a509045b2501fae77eee0a917cce57139ce63a82 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 8 Feb 2020 11:33:25 +0900 Subject: [PATCH] Fix bug --- src/client/components/user-preview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/components/user-preview.vue b/src/client/components/user-preview.vue index edaa54e8b9..7637f700dc 100644 --- a/src/client/components/user-preview.vue +++ b/src/client/components/user-preview.vue @@ -84,7 +84,7 @@ export default Vue.extend({ methods: { close() { this.show = false; - (this.$refs.content as any).style.pointerEvents = 'none'; + if (this.$refs.content) (this.$refs.content as any).style.pointerEvents = 'none'; } } });