diff --git a/js/notifications.js b/js/notifications.js index d6c2db4bb..42dd348de 100644 --- a/js/notifications.js +++ b/js/notifications.js @@ -36,7 +36,9 @@ if (!isEnabled) { return; } - if (this.length === 0) { + + const hasNotifications = this.length > 0 + if (!hasNotifications) { return; }