From 8b32157cf1651d9b8be7bd6d1aa9a4639e36f51d Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Thu, 30 Jan 2020 06:23:34 +0900
Subject: [PATCH] Fix bug

---
 src/client/directives/user-preview.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/client/directives/user-preview.ts b/src/client/directives/user-preview.ts
index c3b4e7fce6..a6b76208d5 100644
--- a/src/client/directives/user-preview.ts
+++ b/src/client/directives/user-preview.ts
@@ -17,6 +17,7 @@ export default {
 		};
 
 		const show = () => {
+			if (!document.body.contains(el)) return;
 			if (self.tag) return;
 
 			self.tag = new MkUserPreview({