Index: lib/notificationHelper.js |
diff --git a/lib/notificationHelper.js b/lib/notificationHelper.js |
index 4667bc365597dc932e7985d9608290815d13057a..385614a351d505b1f665d9eb42ad484d47585f74 100644 |
--- a/lib/notificationHelper.js |
+++ b/lib/notificationHelper.js |
@@ -121,6 +121,9 @@ function openNotificationLinks() |
function notificationButtonClick(buttonIndex) |
{ |
+ if (!(activeButtons && buttonIndex in activeButtons)) |
+ return; |
+ |
switch (activeButtons[buttonIndex].type) |
{ |
case "link": |