| Index: lib/notificationHelper.js |
| =================================================================== |
| --- a/lib/notificationHelper.js |
| +++ b/lib/notificationHelper.js |
| @@ -100,29 +100,31 @@ |
| return buttons; |
| } |
| function openNotificationLinks() |
| { |
| if (activeNotification.links) |
| { |
| for (let link of activeNotification.links) |
| - ext.pages.open(Utils.getDocLink(link)); |
| + chrome.tabs.create({url: Utils.getDocLink(link)}); |
| } |
| } |
| function notificationButtonClick(buttonIndex) |
| { |
| if (!(activeButtons && buttonIndex in activeButtons)) |
| return; |
| switch (activeButtons[buttonIndex].type) |
| { |
| case "link": |
| - ext.pages.open(Utils.getDocLink(activeNotification.links[buttonIndex])); |
| + chrome.tabs.create({ |
| + url: Utils.getDocLink(activeNotification.links[buttonIndex]) |
| + }); |
| break; |
| case "open-all": |
| openNotificationLinks(); |
| break; |
| case "configure": |
| Prefs.notifications_showui = true; |
| showOptions(page => |
| { |