code review last commit: oops

This commit is contained in:
gorhill 2017-10-26 06:23:57 -04:00
parent 44ce44aa42
commit d60edbfae1
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -2190,8 +2190,8 @@ FilterContainer.prototype.retrieveDomainSelectors = function(
// cosmetic filters now. // cosmetic filters now.
if ( if (
this.supportsUserStylesheets && this.supportsUserStylesheets &&
sender instanceof Object || sender instanceof Object &&
sender.tab instanceof Object || sender.tab instanceof Object &&
typeof sender.frameId === 'number' typeof sender.frameId === 'number'
) { ) {
var injectedHideFilters = []; var injectedHideFilters = [];