зеркало из https://github.com/mozilla/pjs.git
Bug 89710, typo broke Save Link As Bookmark functionality. r=harishd, sr=blake.
This commit is contained in:
Родитель
f71acd700f
Коммит
0c114ee749
|
@ -615,7 +615,7 @@ nsContextMenu.prototype = {
|
|||
// Add this text to our collection.
|
||||
text += " " + node.data;
|
||||
} else if ( node.nodeType == Node.ELEMENT_NODE
|
||||
&& node.localName.ToUpperCase() == "IMG" ) {
|
||||
&& node.localName.toUpperCase() == "IMG" ) {
|
||||
// If it has an alt= attribute, use that.
|
||||
altText = node.getAttribute( "alt" );
|
||||
if ( altText && altText != "" ) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче