mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 873058 follow-up - AREATYPE_MENU_PANEL does not exist. Have to use TYPE_MENU_PANEL instead. r=trivial.
This commit is contained in:
parent
cee11e95b0
commit
997c67a700
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user