mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-22 05:11:55 +01:00
Fix for previous
This commit is contained in:
parent
f73bac79ca
commit
41c02d4e08
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user