diff --git a/toolkit/mozapps/extensions/content/extensions.js b/toolkit/mozapps/extensions/content/extensions.js index 72184f86070..74cda93372a 100644 --- a/toolkit/mozapps/extensions/content/extensions.js +++ b/toolkit/mozapps/extensions/content/extensions.js @@ -2140,8 +2140,11 @@ function installUpdatesAll() { if (!isXPInstallEnabled()) return; - if (gUpdatesOnly) - document.getElementById("addonsMsg").removeCurrentNotification(); + if (gUpdatesOnly) { + var notifications = document.getElementById("addonsMsg"); + if (notifications.currentNotification) + notifications.removeCurrentNotification(); + } var items = []; var children = gExtensionsView.children;