Index: lib/uninstall.js |
=================================================================== |
--- a/lib/uninstall.js |
+++ b/lib/uninstall.js |
@@ -57,9 +57,5 @@ |
if ("setUninstallURL" in chrome.runtime) |
{ |
Prefs.untilLoaded.then(setUninstallURL); |
- Prefs.onChanged.addListener(function(name) |
- { |
- if (name == "notificationdata") |
- setUninstallURL(); |
- }); |
+ Prefs.on("notificationdata", setUninstallURL); |
} |