mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
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:
parent
c0b4af7aaa
commit
aba79d4d01
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user