mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-29 11:01:34 +08:00
Bugfix: nodes.forEach should be nodesArray.forEach
This commit is contained in:
parent
7d97ae3145
commit
07443407e9
1 changed files with 2 additions and 2 deletions
4
vendors/knockout/src/utils.js
vendored
4
vendors/knockout/src/utils.js
vendored
|
@ -25,7 +25,7 @@ ko.utils = {
|
|||
var templateDocument = (nodesArray[0] && nodesArray[0].ownerDocument) || document;
|
||||
|
||||
var container = templateDocument.createElement('div');
|
||||
nodes.forEach(node => container.append(ko.cleanNode(node)));
|
||||
nodesArray.forEach(node => container.append(ko.cleanNode(node)));
|
||||
return container;
|
||||
},
|
||||
|
||||
|
@ -67,7 +67,7 @@ ko.utils = {
|
|||
// Rule [B]
|
||||
while (continuousNodeArray.length > 1
|
||||
&& continuousNodeArray[continuousNodeArray.length - 1].parentNode !== parentNode)
|
||||
continuousNodeArray.length--;
|
||||
--continuousNodeArray.length;
|
||||
|
||||
// Rule [C]
|
||||
if (continuousNodeArray.length > 1) {
|
||||
|
|
Loading…
Reference in a new issue