This commit is contained in:
tamaina 2021-08-24 14:20:35 +09:00
parent b67d3f88b6
commit 1bd3505bd3
1 changed files with 2 additions and 2 deletions

View File

@ -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/