Bug 1228282 - fix use of aMenuItem in FeedWriter's _initMenuItemWithFile to unbreak feed reader UI, r=mak

This commit is contained in:
Gijs Kruitbosch 2015-11-26 11:15:34 +00:00
parent 2c824e4fd6
commit 2931bad5d8

View File

@ -646,8 +646,8 @@ FeedWriter.prototype = {
_initMenuItemWithFile: function(aMenuItem, aFile) {
var label = this._getFileDisplayName(aFile);
var image = this._getFileIconURL(aFile);
aMenuitem.setAttribute('label', label);
aMenuitem.setAttribute('image', image);
aMenuItem.setAttribute('label', label);
aMenuItem.setAttribute('image', image);
},
/**