Fix for previous
This commit is contained in:
parent
f73bac79ca
commit
41c02d4e08
@ -18,7 +18,7 @@ let windowSize = updateSizes();
|
|||||||
const handleResize = throttle(() => {
|
const handleResize = throttle(() => {
|
||||||
windowSize = updateSizes();
|
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();
|
window.location.reload();
|
||||||
}
|
}
|
||||||
}, 250, true);
|
}, 250, true);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user