mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
Bug 809022 - The downloads button opens the panel even if it's disabled.
r=paolo
This commit is contained in:
parent
ffe07d9115
commit
19c1ead74d
@ -509,10 +509,11 @@ const DownloadsIndicatorView = {
|
||||
if (DownloadsCommon.useToolkitUI) {
|
||||
// The panel won't suppress attention for us, we need to clear now.
|
||||
DownloadsCommon.indicatorData.attention = false;
|
||||
BrowserDownloadsUI();
|
||||
} else {
|
||||
DownloadsPanel.showPanel();
|
||||
}
|
||||
|
||||
DownloadsPanel.showPanel();
|
||||
|
||||
aEvent.stopPropagation();
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user