diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index edae6d5dd..59dd237b6 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -1166,7 +1166,7 @@ vAPI.messaging.onMessage = (function() { var toAuxPending = {}; // Use a wrapper to avoid closure and to allow reuse. - var CallbackWrapper = function(messageManager, channelName, listenerId, auxProcessId, timeout) { + var CallbackWrapper = function(messageManager, listenerId, channelName, auxProcessId, timeout) { this.callback = this.proxy.bind(this); // bind once this.init(messageManager, listenerId, channelName, auxProcessId, timeout); };