Skip to content
Permalink
Browse files

fix false positive detection of popups

Possibly what was being experienced by this user:
https://twitter.com/Reiniervdhulst/status/1035251223669211137
  • Loading branch information...
gorhill committed Aug 31, 2018
1 parent 8ca6239 commit aeb19c952b782eec31e5de8da676b89edd08efdb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/js/messaging.js
@@ -87,7 +87,7 @@ var onMessage = function(request, sender, callback) {
// The concatenation with the empty string ensure that the resulting value
// is a string. This is important since tab id values are assumed to be
// of string type.
var tabId = sender && sender.tab ? '' + sender.tab.id : 0;
var tabId = sender && sender.tab ? sender.tab.id : 0;

// Sync
var response;

0 comments on commit aeb19c9

Please sign in to comment.
You can’t perform that action at this time.