mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
ko.utils.domNodeDisposal.addDisposeCallback to ko.addDisposeCallback
This commit is contained in:
parent
c744b83480
commit
4cd5774257
12 changed files with 111 additions and 113 deletions
|
|
@ -131,7 +131,7 @@ class AsyncCompleteContext {
|
|||
this.asyncDescendants = new Set;
|
||||
this.childrenComplete = false;
|
||||
|
||||
bindingInfo.asyncContext || ko.utils.domNodeDisposal['addDisposeCallback'](node, asyncContextDispose);
|
||||
bindingInfo.asyncContext || ko.utils.domNodeDisposal.addDisposeCallback(node, asyncContextDispose);
|
||||
|
||||
if (ancestorBindingInfo?.asyncContext) {
|
||||
ancestorBindingInfo.asyncContext.asyncDescendants.add(node);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue