Fix: remove unused ignoreChromeError
This commit is contained in:
parent
2aff14e213
commit
fea04d591f
|
@ -249,6 +249,7 @@ function createStyleTargetsElement({entry, style}) {
|
||||||
let numTargets = 0;
|
let numTargets = 0;
|
||||||
const displayed = new Set();
|
const displayed = new Set();
|
||||||
for (const type of TARGET_TYPES) {
|
for (const type of TARGET_TYPES) {
|
||||||
|
// FIXME: what does it do?
|
||||||
const isExcluded = type === 'exclusions';
|
const isExcluded = type === 'exclusions';
|
||||||
const sections = isExcluded ? [''] : style.sections;
|
const sections = isExcluded ? [''] : style.sections;
|
||||||
if (isExcluded && !newUI.enabled && Object.keys(style.exclusions || {}).length > 0) {
|
if (isExcluded && !newUI.enabled && Object.keys(style.exclusions || {}).length > 0) {
|
||||||
|
|
|
@ -125,7 +125,6 @@ function initPopup() {
|
||||||
if (pong) {
|
if (pong) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ignoreChromeError();
|
|
||||||
// FF and some Chrome forks (e.g. CentBrowser) implement tab-on-demand
|
// 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
|
// so we'll wait a bit to handle popup being invoked right after switching
|
||||||
if (retryCountdown > 0 && (
|
if (retryCountdown > 0 && (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user