Index: popup.js
diff --git a/popup.js b/popup.js
index fea70225b7b6a231438a0e45ee55d5226eec9c56..1e1081e28eb3fe61069e11472a8d9f36ad0a97c7 100644
--- a/popup.js
+++ b/popup.js
@@ -334,7 +334,7 @@ window.addEventListener("load", () =>
           setPref("notifications_ignoredcategories", true);
 
         notificationElement.hidden = true;
-        notification.onClicked();
+        browser.runtime.sendMessage({type: "notifications.clicked"});
       }
     }, true);
   });
