mirror of https://github.com/gorhill/uBlock.git
fix false positive detection of popups
Possibly what was being experienced by this user: https://twitter.com/Reiniervdhulst/status/1035251223669211137
This commit is contained in:
parent
8ca6239e64
commit
aeb19c952b
|
@ -87,7 +87,7 @@ var onMessage = function(request, sender, callback) {
|
||||||
// The concatenation with the empty string ensure that the resulting value
|
// 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
|
// is a string. This is important since tab id values are assumed to be
|
||||||
// of string type.
|
// of string type.
|
||||||
var tabId = sender && sender.tab ? '' + sender.tab.id : 0;
|
var tabId = sender && sender.tab ? sender.tab.id : 0;
|
||||||
|
|
||||||
// Sync
|
// Sync
|
||||||
var response;
|
var response;
|
||||||
|
|
Loading…
Reference in New Issue