diff --git a/mozilla/editor/ui/dialogs/content/EdAECSSAttributes.js b/mozilla/editor/ui/dialogs/content/EdAECSSAttributes.js index c518fb16464..e33f448e4b9 100644 --- a/mozilla/editor/ui/dialogs/content/EdAECSSAttributes.js +++ b/mozilla/editor/ui/dialogs/content/EdAECSSAttributes.js @@ -62,11 +62,10 @@ function BuildCSSAttributeTable() if (declLength > 0) { - var added = false; - for (i = 0; i < declLength; i++) + for (var i = 0; i < declLength; ++i) { - name = style.item(i); - value = style.getPropertyValue(name); + var name = style.item(i); + var value = style.getPropertyValue(name); AddTreeItem( name, value, "CSSAList", CSSAttrs ); } }