mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +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
|
|
@ -1,6 +1,6 @@
|
|||
import ko from 'ko';
|
||||
|
||||
import { windowResizeCallback, delegateRunOnDestroy } from 'Common/Utils';
|
||||
import { delegateRunOnDestroy } from 'Common/Utils';
|
||||
import { StorageResultType, Notification } from 'Common/Enums';
|
||||
import { getNotification } from 'Common/Translator';
|
||||
|
||||
|
|
@ -23,8 +23,6 @@ class FiltersUserSettings {
|
|||
|
||||
this.saveErrorText = ko.observable('');
|
||||
|
||||
this.filters.subscribe(windowResizeCallback);
|
||||
|
||||
this.serverError.subscribe((value) => {
|
||||
if (!value) {
|
||||
this.serverErrorDesc('');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue