From 98d7e095a5c3533a9a2d787f3ee15b1640f77da0 Mon Sep 17 00:00:00 2001 From: siikamiika Date: Sat, 11 Apr 2020 20:58:50 +0300 Subject: [PATCH] remove redundant call guard --- ext/fg/js/popup-nested.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ext/fg/js/popup-nested.js b/ext/fg/js/popup-nested.js index ca703b1314..b6ad133845 100644 --- a/ext/fg/js/popup-nested.js +++ b/ext/fg/js/popup-nested.js @@ -37,14 +37,7 @@ function injectPopupNested() { } } -let popupNestedInitialized = false; - async function popupNestedInitialize(id, depth, parentFrameId, url) { - if (popupNestedInitialized) { - return; - } - popupNestedInitialized = true; - let optionsApplied = false; const applyOptions = async () => {