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:
parent
364c79d9ee
commit
8d8f4b22d4
1 changed files with 1 additions and 4 deletions
|
@ -1765,10 +1765,7 @@ var httpObserver = {
|
|||
var URI = channel.URI;
|
||||
var channelData;
|
||||
|
||||
if (
|
||||
topic === 'http-on-examine-response' ||
|
||||
topic === 'http-on-examine-cached-response'
|
||||
) {
|
||||
if ( topic.lastIndexOf('http-on-examine-', 0) === 0 ) {
|
||||
channelData = this.channelDataFromChannel(channel);
|
||||
if ( channelData === null ) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue