Browse Source

Only top window should have type `main_frame`

pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
c3178cd442
  1. 2
      src/js/vapi-background.js

2
src/js/vapi-background.js

@ -675,7 +675,7 @@ if (self.chrome) {
this.connector = function(request) { this.connector = function(request) {
var callback = function(response) { var callback = function(response) {
if (request.message.requestId && response !== undefined) {
if (response !== undefined) {
request.target.page.dispatchMessage( request.target.page.dispatchMessage(
request.name, request.name,
{ {

Loading…
Cancel
Save