Index: lib/notificationHelper.js |
=================================================================== |
--- a/lib/notificationHelper.js |
+++ b/lib/notificationHelper.js |
@@ -131,7 +131,7 @@ |
function showNotification(notification) |
{ |
- if (!notification || activeNotification && activeNotification.id == notification.id) |
+ if (activeNotification && activeNotification.id == notification.id) |
return; |
activeNotification = notification; |
@@ -239,7 +239,4 @@ |
return activeNotification; |
}; |
-NotificationStorage.addShowListener(function(notification) |
-{ |
- showNotification(notification); |
-}); |
+NotificationStorage.addShowListener(showNotification); |