diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index cbd2dfd..1aa49d4 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -668,7 +668,7 @@ vAPI.toolbarButton.init = function() { vAPI.unload.push(function() { CustomizableUI.destroyWidget(vAPI.toolbarButton.widgetId); - vAPI.messaging.globalMessageManager.addMessageListener( + vAPI.messaging.globalMessageManager.removeMessageListener( location.host + ':closePopup', vAPI.toolbarButton.closePopup );