summaryrefslogtreecommitdiffhomepage
path: root/app/notification-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/notification-controller.js')
-rw-r--r--app/notification-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/notification-controller.js b/app/notification-controller.js
index eafdea0445..1d6138d404 100644
--- a/app/notification-controller.js
+++ b/app/notification-controller.js
@@ -9,7 +9,7 @@ export default class NotificationController {
const lastNotification = this._activeNotification;
const sameAsLastNotification = lastNotification && lastNotification.body === message;
- if (sameAsLastNotification) {
+ if (sameAsLastNotification || remote.getCurrentWindow().isVisible()) {
return;
}