Bug 873058 follow-up - AREATYPE_MENU_PANEL does not exist. Have to use TYPE_MENU_PANEL instead. r=trivial.

This commit is contained in:
Mike Conley 2013-06-14 19:34:10 -04:00
parent cee11e95b0
commit 997c67a700

View File

@ -526,7 +526,7 @@ const DownloadsIndicatorView = {
// If the downloads button is in the menu panel, open the Library
let widgetGroup = CustomizableUI.getWidget("downloads-button");
let widget = widgetGroup.forWindow(window);
if (widget.areaType == CustomizableUI.AREATYPE_MENU_PANEL) {
if (widget.areaType == CustomizableUI.TYPE_MENU_PANEL) {
DownloadsPanel.showDownloadsHistory();
} else {
DownloadsPanel.showPanel();