mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 856935 - Suppress downloads complete indicator glow when downloads view is open. r=mconley
This commit is contained in:
parent
0545ed52a1
commit
0f2f69bb7a
@ -791,6 +791,10 @@ function DownloadsPlacesView(aRichListBox, aActive = true) {
|
||||
let downloadsData = DownloadsCommon.getData(window.opener || window);
|
||||
downloadsData.addView(this);
|
||||
|
||||
// Get the Download button out of the attention state since we're about to
|
||||
// view all downloads.
|
||||
DownloadsCommon.getIndicatorData(window).attention = false;
|
||||
|
||||
// Make sure to unregister the view if the window is closed.
|
||||
window.addEventListener("unload", function() {
|
||||
window.controllers.removeController(this);
|
||||
|
Loading…
Reference in New Issue
Block a user