Bug 319821 - Use document.documentElement instead of document.firstChild to handle changes due to be made by bug 319654.

ChatZilla only.
r=samuel
This commit is contained in:
silver%warwickcompsoc.co.uk 2005-12-11 16:29:15 +00:00
parent c0b4af7aaa
commit aba79d4d01

View File

@ -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)