bug 110471, fix js warning, r=morse, sr=alecf

This commit is contained in:
morse%netscape.com 2006-07-29 05:38:00 +00:00
Родитель 0cf2d3abbb
Коммит a900f454d0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -257,7 +257,7 @@ nsContextMenu.prototype = {
// URL must be constructed.
this.imageURL = this.objectImageURL( this.target );
} else if ( this.target.localName.toUpperCase() == "INPUT") {
var type = this.target.getAttribute("type");
type = this.target.getAttribute("type");
if(type && type.toUpperCase() == "IMAGE") {
this.onImage = true;
// Convert src attribute to absolute URL.