aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/popup-nested.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-04-11 20:58:50 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2020-04-11 21:04:30 +0300
commite6078ce8f6e5d46c50cd1c63d33177939cbb24a0 (patch)
tree642fba6fde07e5788607848fc1eabc9b680104ad /ext/fg/js/popup-nested.js
parentba97e72c8bde6d7c5467e60645c637a0836b9a31 (diff)
remove redundant call guard
Diffstat (limited to 'ext/fg/js/popup-nested.js')
-rw-r--r--ext/fg/js/popup-nested.js7
1 files changed, 0 insertions, 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 () => {