From bbe6fcdef73405b3c25fdd921674a8321ab56beb Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Sun, 13 Feb 2022 22:04:44 +0300 Subject: Fixed a bug in reddit options page --- src/assets/javascripts/helpers/instagram.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/assets/javascripts') diff --git a/src/assets/javascripts/helpers/instagram.js b/src/assets/javascripts/helpers/instagram.js index 890e0ef3..904a935e 100644 --- a/src/assets/javascripts/helpers/instagram.js +++ b/src/assets/javascripts/helpers/instagram.js @@ -104,8 +104,6 @@ function redirect(url, initiator, type) { if (initiator && (instancesList.includes(initiator.origin) || targets.includes(initiator.host))) return null; - - // Do not redirect /accounts, /embeds.js, or anything other than main_frame if (type !== "main_frame" || url.pathname.match(bypassPaths)) return 'CANCEL'; -- cgit 1.4.1