From e6078ce8f6e5d46c50cd1c63d33177939cbb24a0 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 3ecdf50c..c140f9c8 100644 --- a/ext/fg/js/popup-nested.js +++ b/ext/fg/js/popup-nested.js @@ -36,14 +36,7 @@ function injectPopupNested() { } } -let popupNestedInitialized = false; - async function popupNestedInitialize(id, depth, parentFrameId, url) { - if (popupNestedInitialized) { - return; - } - popupNestedInitialized = true; - let optionsApplied = false; const applyOptions = async () => {