null
This commit is contained in:
parent
cb3aa3927c
commit
9cfe3dfa3b
1 changed files with 2 additions and 2 deletions
|
@ -92,8 +92,8 @@ document.addEventListener('touchend', () => {}, { passive: true });
|
||||||
|
|
||||||
// 一斉リロード
|
// 一斉リロード
|
||||||
reloadChannel.addEventListener('message', path => {
|
reloadChannel.addEventListener('message', path => {
|
||||||
if (path === 'reload') location.reload();
|
if (path !== null) location.href = path;
|
||||||
else location.href = path;
|
else location.reload();
|
||||||
});
|
});
|
||||||
|
|
||||||
//#region SEE: https://css-tricks.com/the-trick-to-viewport-units-on-mobile/
|
//#region SEE: https://css-tricks.com/the-trick-to-viewport-units-on-mobile/
|
||||||
|
|
Loading…
Reference in a new issue