CBI:
Ensure revalidation
This commit is contained in:
parent
565cc95f0d
commit
840d8c89b5
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ function cbi_d_update() {
|
|||
|
||||
if (node && node.parentNode && !cbi_d_check(entry.deps)) {
|
||||
node.parentNode.removeChild(node);
|
||||
state = (state || !node.parentNode);
|
||||
state = true;
|
||||
if( entry.parent )
|
||||
cbi_c[entry.parent]--;
|
||||
} else if ((!node || !node.parentNode) && cbi_d_check(entry.deps)) {
|
||||
|
@ -100,7 +100,7 @@ function cbi_d_update() {
|
|||
} else {
|
||||
next.parentNode.insertBefore(entry.node, next);
|
||||
}
|
||||
state = (state || (node && node.parentNode))
|
||||
state = true;
|
||||
if( entry.parent )
|
||||
cbi_c[entry.parent]++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue