Index: lib/notificationHelper.js |
=================================================================== |
--- a/lib/notificationHelper.js |
+++ b/lib/notificationHelper.js |
@@ -184,17 +184,17 @@ |
return; |
activeNotification = notification; |
if (shouldDisplay("notification", activeNotification.type)) |
{ |
let texts = NotificationStorage.getLocalizedTexts(notification); |
let title = texts.title || ""; |
let message = (texts.message || "").replace(/<\/?(a|strong)>/g, ""); |
- let iconUrl = ext.getURL("icons/detailed/abp-128.png"); |
+ let iconUrl = chrome.extension.getURL("icons/detailed/abp-128.png"); |
let linkCount = (activeNotification.links || []).length; |
if ("notifications" in chrome) |
{ |
activeButtons = getNotificationButtons(activeNotification.type, |
texts.message); |
chrome.notifications.create("", { |
type: "basic", |