diff --git a/mozilla/suite/common/nsContextMenu.js b/mozilla/suite/common/nsContextMenu.js index f3f7b682fb9..ab9cf758e6a 100644 --- a/mozilla/suite/common/nsContextMenu.js +++ b/mozilla/suite/common/nsContextMenu.js @@ -625,7 +625,7 @@ nsContextMenu.prototype = { } else if ( node.nodeType == Node.ELEMENT_NODE && node.localName.toUpperCase() == "IMG" ) { // If it has an alt= attribute, use that. - altText = node.getAttribute( "alt" ); + var altText = node.getAttribute( "alt" ); if ( altText && altText != "" ) { text = altText; break;