1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-06 19:02:30 +01:00

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:
Raymond Hill 2018-08-31 09:26:10 -04:00
parent 8ca6239e64
commit aeb19c952b
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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;