зеркало из https://github.com/mozilla/gecko-dev.git
Bug 603568 - Correctly relocate all descendent scripts in about:home. r=gavin a=blocking
This commit is contained in:
Родитель
a954d32efa
Коммит
19c7fe568f
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче