Firefox: implement vAPI.tabs.injectScript

pull/2/head
Deathamns 10 years ago committed by gorhill
parent 9c00fbfb3b
commit ba47f39c47

@ -55,7 +55,7 @@ var messagingConnector = function(response) {
var channels = vAPI.messaging.channels; var channels = vAPI.messaging.channels;
var channel, listener; var channel, listener;
if ( response.broadcast === true ) { if ( response.broadcast === true && !response.portName ) {
for ( channel in channels ) { for ( channel in channels ) {
if ( channels.hasOwnProperty(channel) === false ) { if ( channels.hasOwnProperty(channel) === false ) {
continue; continue;

Loading…
Cancel
Save