Fix indent

This commit is contained in:
Michał Szopiński 2020-07-16 15:01:19 +02:00
parent 790ff84ec9
commit 01a3d69adc
1 changed files with 3 additions and 3 deletions

View File

@ -21,9 +21,9 @@ chrome.webRequest.onBeforeRequest.addListener(
if (excludedSubdomains.indexOf(urlParser.hostname) != -1) return;
for (const path of excludedPaths)
if (urlParser.pathname.indexOf(path) == 0)
return;
for (const path of excludedPaths) {
if (urlParser.pathname.indexOf(path) == 0) return;
}
return {redirectUrl: oldReddit + urlParser.pathname};
},