Fix for previous

This commit is contained in:
Alexander Zinchuk 2021-05-15 02:46:00 +03:00
parent f73bac79ca
commit 41c02d4e08

View File

@ -18,7 +18,7 @@ let windowSize = updateSizes();
const handleResize = throttle(() => {
windowSize = updateSizes();
if ((isMobileScreen() !== IS_MOBILE_SCREEN) || (IS_MOBILE_SCREEN && IS_LANDSCAPE !== !isLandscape())) {
if ((isMobileScreen() !== IS_MOBILE_SCREEN) || (IS_MOBILE_SCREEN && IS_LANDSCAPE !== isLandscape())) {
window.location.reload();
}
}, 250, true);