From cbf885d05a5bdeb1a63a2f558da14240ec44b928 Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 23 Mar 2021 21:35:50 +0900 Subject: [PATCH] https://github.com/syuilo/misskey/pull/7129#discussion_r599501138 --- src/client/init.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/init.ts b/src/client/init.ts index 066df162d8..455990f2ed 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -124,7 +124,7 @@ if (defaultStore.state.reportError && !_DEV_) { document.addEventListener('touchend', () => {}, { passive: true }); // 一斉リロード -reloadChannel.addEventListener('message', reload); +reloadChannel.addEventListener('message', shouldRedirectToRoot => reload(shouldRedirectToRoot)); //#region SEE: https://css-tricks.com/the-trick-to-viewport-units-on-mobile/ // TODO: いつの日にか消したい