From 1bd3505bd3d0d9308f3b678381ea1be07c9e4613 Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 24 Aug 2021 14:20:35 +0900 Subject: [PATCH] fix --- src/client/init.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/init.ts b/src/client/init.ts index 4484cbb497..8789128b73 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -90,8 +90,8 @@ document.addEventListener('touchend', () => {}, { passive: true }); // 一斉リロード reloadChannel.addEventListener('message', path => { - if (path === 'reload') - location.reload() + if (path === 'reload') location.reload(); + else location.href = path; }); //#region SEE: https://css-tricks.com/the-trick-to-viewport-units-on-mobile/