mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
dont error when pressing del on rep 0 0
This commit is contained in:
parent
33ecd3d52f
commit
1a138438eb
1 changed files with 1 additions and 1 deletions
|
@ -1668,7 +1668,7 @@ function Ace2Inner(){
|
||||||
{
|
{
|
||||||
//var id = n.uniqueId();
|
//var id = n.uniqueId();
|
||||||
// parent of n may not be "root" in IE due to non-tree-shaped DOM (wtf)
|
// parent of n may not be "root" in IE due to non-tree-shaped DOM (wtf)
|
||||||
n.parentNode.removeChild(n);
|
if(n.parentNode) n.parentNode.removeChild(n);
|
||||||
|
|
||||||
//dmesg(htmlPrettyEscape(htmlForRemovedChild(n)));
|
//dmesg(htmlPrettyEscape(htmlForRemovedChild(n)));
|
||||||
//console.log("removed: "+id);
|
//console.log("removed: "+id);
|
||||||
|
|
Loading…
Reference in a new issue