Drop windowResize/windowResizeCallback in favor of ResizeObservable

This commit is contained in:
djmaze 2020-08-19 12:34:05 +02:00
parent e192b60d69
commit 7a21694396
14 changed files with 25 additions and 110 deletions

View file

@ -14,7 +14,6 @@ import {
delegateRunOnDestroy,
computedPagenatorHelper,
trim,
windowResizeCallback,
isNonEmptyArray,
fakeMd5,
pInt
@ -155,9 +154,6 @@ class ContactsPopupView extends AbstractViewNext {
this.reloadContactList();
});
this.contacts.subscribe(windowResizeCallback);
this.viewProperties.subscribe(windowResizeCallback);
this.contactsChecked = ko.computed(() => this.contacts().filter(item => item.checked()));
this.contactsCheckedOrSelected = ko.computed(() => {