Index: notification.js |
=================================================================== |
--- a/notification.js |
+++ b/notification.js |
@@ -79,17 +79,17 @@ |
{ |
let link = event.target; |
while (link && link !== messageElement && link.localName !== "a") |
link = link.parentNode; |
if (!link) |
return; |
event.preventDefault(); |
event.stopPropagation(); |
- chrome.tabs.create({url: link.href}); |
+ browser.tabs.create({url: link.href}); |
}); |
let notificationElement = document.getElementById("notification"); |
notificationElement.className = notification.type; |
notificationElement.hidden = false; |
notificationElement.addEventListener("click", event => |
{ |
if (event.target.id == "notification-close") |