From 1ba559a98bfb389b94e75441ef835fe93d097029 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 14 Jul 2022 22:13:00 +0900 Subject: [PATCH] Revert "debug" This reverts commit 800bbc4328e27944e785d2ad50da0293df0ee114. --- packages/client/src/init.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/client/src/init.ts b/packages/client/src/init.ts index c826b6a33b..243d287543 100644 --- a/packages/client/src/init.ts +++ b/packages/client/src/init.ts @@ -216,26 +216,18 @@ console.info('13'); // https://github.com/misskey-dev/misskey/pull/8575#issuecomment-1114239210 // なぜかinit.tsの内容が2回実行されることがあるため、mountするdivを1つに制限する const rootEl = (() => { - console.info('13-1'); const MISSKEY_MOUNT_DIV_ID = 'misskey_app'; - console.info('13-2'); const currentEl = document.getElementById(MISSKEY_MOUNT_DIV_ID); - console.info('13-3'); if (currentEl) { - console.info('13-4'); console.warn('multiple import detected'); return currentEl; } - console.info('13-5'); const rootEl = document.createElement('div'); - console.info('13-6'); rootEl.id = MISSKEY_MOUNT_DIV_ID; - console.info('13-7'); document.body.appendChild(rootEl); - console.info('13-8'); return rootEl; })();