Bug 319821 - Use document.documentElement instead of document.firstChild to handle changes due to be made by bug 319654.
ChatZilla only. r=samuel git-svn-id: svn://10.0.0.236/trunk@185914 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -255,8 +255,8 @@ function cmgr_instkeys (document, commands)
|
||||
if (!parentElem)
|
||||
{
|
||||
parentElem = document.createElement("keyset");
|
||||
parentElem.setAttribute ("id", "dynamic-keys");
|
||||
document.firstChild.appendChild (parentElem);
|
||||
parentElem.setAttribute("id", "dynamic-keys");
|
||||
document.documentElement.appendChild(parentElem);
|
||||
}
|
||||
|
||||
if (!commands)
|
||||
|
||||
Reference in New Issue
Block a user