mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
smashing errors caused by .forEach
This commit is contained in:
parent
b28bfe8e31
commit
f34f0585bb
4 changed files with 11 additions and 11 deletions
|
@ -1642,7 +1642,7 @@ function Ace2Inner(){
|
|||
|
||||
// update the representation
|
||||
p.mark("splice");
|
||||
forEach(splicesToDo, function(splice)
|
||||
splicesToDo.forEach(function(splice)
|
||||
{
|
||||
doIncorpLineSplice(splice[0], splice[1], splice[2], splice[3], splice[4]);
|
||||
});
|
||||
|
@ -2142,7 +2142,7 @@ function Ace2Inner(){
|
|||
return entry.domInfo;
|
||||
}), isTimeUp);
|
||||
|
||||
infoStructs.forEach(function(k)
|
||||
keysToDelete.forEach(function(k)
|
||||
{
|
||||
var n = doc.getElementById(k);
|
||||
n.parentNode.removeChild(n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue