From 815e0cf063316726dcabcbd49f4bb3a247de49b7 Mon Sep 17 00:00:00 2001 From: Girish Sharma Date: Sat, 4 May 2013 00:01:16 +0530 Subject: [PATCH] Bug 857801 - Prevent glowing Download Notification Effect of Toolbar Button with Panel opened. r=mconley --- browser/components/downloads/content/indicator.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/browser/components/downloads/content/indicator.js b/browser/components/downloads/content/indicator.js index b3fe028316ec..659774bddb1d 100644 --- a/browser/components/downloads/content/indicator.js +++ b/browser/components/downloads/content/indicator.js @@ -359,6 +359,11 @@ const DownloadsIndicatorView = { return; } + // No need to show visual notification if the panel is visible. + if (DownloadsPanel.isPanelShowing) { + return; + } + function DIV_SEN_callback() { if (this._notificationTimeout) { clearTimeout(this._notificationTimeout);