60669. Javascript strict warnings in EdDialogCommon.js r=gemal@gemal.dk, sr=kin@netscape.com

This commit is contained in:
stephend%netscape.com 2001-07-24 19:47:27 +00:00
parent 867a310a99
commit 8a46da1d7e

View File

@ -610,7 +610,7 @@ function ClearTreelist(tree)
// Skip over the first <treecolgroup> child
if (tree.firstChild)
{
nextChild = tree.firstChild.nextSibling;
var nextChild = tree.firstChild.nextSibling;
while (nextChild)
{
var nextTmp = nextChild.nextSibling;
@ -967,7 +967,7 @@ function GetMetaElement(name)
function CreateMetaElement(name)
{
metaElement = editorShell.CreateElementWithDefaults("meta");
var metaElement = editorShell.CreateElementWithDefaults("meta");
if (metaElement)
metaElement.setAttribute("name", name);
else