1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-09-29 08:41:11 +13:00

minor code review

This commit is contained in:
gorhill 2015-10-31 18:22:39 -04:00
parent 364c79d9ee
commit 8d8f4b22d4

View file

@ -1765,10 +1765,7 @@ var httpObserver = {
var URI = channel.URI; var URI = channel.URI;
var channelData; var channelData;
if ( if ( topic.lastIndexOf('http-on-examine-', 0) === 0 ) {
topic === 'http-on-examine-response' ||
topic === 'http-on-examine-cached-response'
) {
channelData = this.channelDataFromChannel(channel); channelData = this.channelDataFromChannel(channel);
if ( channelData === null ) { if ( channelData === null ) {
return; return;