mirror of https://github.com/gorhill/uBlock.git
minor code review: just in case
This commit is contained in:
parent
98af936d3c
commit
0a89e5827a
|
@ -325,6 +325,11 @@ var onHeadersReceived = function(details) {
|
||||||
return onRootFrameHeadersReceived(details);
|
return onRootFrameHeadersReceived(details);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Just in case...
|
||||||
|
if ( details.type !== 'sub_frame' ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// If we reach this point, we are dealing with a sub_frame
|
// If we reach this point, we are dealing with a sub_frame
|
||||||
|
|
||||||
// Lookup the page store associated with this tab id.
|
// Lookup the page store associated with this tab id.
|
||||||
|
|
Loading…
Reference in New Issue