This commit is contained in:
tamaina 2021-10-29 00:47:20 +09:00
parent cb3aa3927c
commit 9cfe3dfa3b

View file

@ -92,8 +92,8 @@ document.addEventListener('touchend', () => {}, { passive: true });
// 一斉リロード
reloadChannel.addEventListener('message', path => {
if (path === 'reload') location.reload();
else location.href = path;
if (path !== null) location.href = path;
else location.reload();
});
//#region SEE: https://css-tricks.com/the-trick-to-viewport-units-on-mobile/