| Index: lib/filterClasses.js |
| =================================================================== |
| --- a/lib/filterClasses.js |
| +++ b/lib/filterClasses.js |
| @@ -618,10 +618,9 @@ |
| */ |
| matches: function(location, contentType, docDomain, thirdParty, sitekey) |
| { |
| - if (this.regexp.test(location) && |
| - (RegExpFilter.typeMap[contentType] & this.contentType) != 0 && |
| + if ((RegExpFilter.typeMap[contentType] & this.contentType) != 0 && |
| (this.thirdParty == null || this.thirdParty == thirdParty) && |
| - this.isActiveOnDomain(docDomain, sitekey)) |
| + this.isActiveOnDomain(docDomain, sitekey) && this.regexp.test(location)) |
| { |
| return true; |
| } |