Index: lib/antiadblockInit.js |
=================================================================== |
--- a/lib/antiadblockInit.js |
+++ b/lib/antiadblockInit.js |
@@ -24,18 +24,18 @@ |
const {Subscription} = require("subscriptionClasses"); |
const {Notification} = require("notification"); |
exports.initAntiAdblockNotification = function initAntiAdblockNotification() |
{ |
let notification = { |
id: "antiadblock", |
type: "question", |
- title: chrome.i18n.getMessage("notification_antiadblock_title"), |
- message: chrome.i18n.getMessage("notification_antiadblock_message"), |
+ title: browser.i18n.getMessage("notification_antiadblock_title"), |
+ message: browser.i18n.getMessage("notification_antiadblock_message"), |
urlFilters: [] |
}; |
function notificationListener(approved) |
{ |
let subscription = Subscription.fromURL(Prefs.subscriptions_antiadblockurl); |
if (subscription.url in FilterStorage.knownSubscriptions) |
subscription.disabled = !approved; |