Bug 603568 - Correctly relocate all descendent scripts in about:home. r=gavin a=blocking

This commit is contained in:
Marco Bonardo 2010-10-14 10:46:34 +02:00
Родитель a954d32efa
Коммит 19c7fe568f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -171,7 +171,7 @@ function showSnippets()
let relocatedScript = document.createElement("script");
relocatedScript.type = "text/javascript;version=1.8";
relocatedScript.text = elt.text;
snippetsElt.replaceChild(relocatedScript, elt);
elt.parentNode.replaceChild(relocatedScript, elt);
});
snippetsElt.hidden = false;
} else {