Update comment for clarity

This commit is contained in:
nitrohorse 2020-09-05 22:32:23 -07:00
parent b9cd32cfaa
commit 27f538e50b
No known key found for this signature in database
GPG Key ID: 6F3175557E766CBF
1 changed files with 1 additions and 1 deletions

View File

@ -505,7 +505,7 @@ function redirectReddit(url, initiator, type) {
if (initiator && initiator.origin === oldRedditView || url.origin === oldRedditView) {
return null;
}
// Do not redirect anything other than main_frame
// Do not redirect exclusions nor anything other than main_frame
if (type !== "main_frame" || url.pathname.match(redditBypassPaths)) {
return null;
}