From fea04d591fb79633112bfc605e552495b4cc41ef Mon Sep 17 00:00:00 2001 From: eight Date: Sun, 14 Oct 2018 18:39:28 +0800 Subject: [PATCH] Fix: remove unused ignoreChromeError --- manage/manage.js | 1 + popup/popup.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/manage/manage.js b/manage/manage.js index c1680ced..c11fa825 100644 --- a/manage/manage.js +++ b/manage/manage.js @@ -249,6 +249,7 @@ function createStyleTargetsElement({entry, style}) { let numTargets = 0; const displayed = new Set(); for (const type of TARGET_TYPES) { + // FIXME: what does it do? const isExcluded = type === 'exclusions'; const sections = isExcluded ? [''] : style.sections; if (isExcluded && !newUI.enabled && Object.keys(style.exclusions || {}).length > 0) { diff --git a/popup/popup.js b/popup/popup.js index da8c0ccc..321af757 100644 --- a/popup/popup.js +++ b/popup/popup.js @@ -125,7 +125,6 @@ function initPopup() { if (pong) { return; } - ignoreChromeError(); // FF and some Chrome forks (e.g. CentBrowser) implement tab-on-demand // so we'll wait a bit to handle popup being invoked right after switching if (retryCountdown > 0 && (