Browse Source

Firefox: implement vAPI.tabs.injectScript

pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
ba47f39c47
  1. 2
      platform/chromium/vapi-client.js

2
platform/chromium/vapi-client.js

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

Loading…
Cancel
Save