Bug 273024 - Back Button History is not in the correct order (aviary-landing). r=mconnor.

This commit is contained in:
kjh-5727%comcast.net 2005-01-14 22:57:48 +00:00
parent cb3684dc0c
commit e710e37ba9

View File

@ -2510,7 +2510,7 @@ function createRadioMenuItem( aParent, aIndex, aLabel, aChecked)
function deleteHistoryItems(aParent)
{
var children = aParent.childNodes;
for (var i = 0; i < children.length; i++)
for (var i = children.length - 1; i >= 0; --i)
{
var index = children[i].getAttribute("index");
if (index)