1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-26 10:01:08 +12: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 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;