mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Drop windowResize/windowResizeCallback in favor of ResizeObservable
This commit is contained in:
parent
e192b60d69
commit
7a21694396
14 changed files with 25 additions and 110 deletions
|
|
@ -7,7 +7,7 @@ import {
|
|||
bMobileDevice
|
||||
} from 'Common/Globals';
|
||||
|
||||
import { pString, detectDropdownVisibility, windowResizeCallback } from 'Common/Utils';
|
||||
import { pString, detectDropdownVisibility } from 'Common/Utils';
|
||||
|
||||
import { KeyState } from 'Common/Enums';
|
||||
import { root, rootAdmin, rootUser, populateAuthSuffix } from 'Common/Links';
|
||||
|
|
@ -187,8 +187,6 @@ class AbstractApp extends AbstractBoot {
|
|||
|
||||
initOnStartOrLangChange(initNotificationLanguage);
|
||||
|
||||
setTimeout(windowResizeCallback, 1000);
|
||||
|
||||
if (!mobile) {
|
||||
$htmlCL.add('rl-desktop');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue