remove redundant call guard

This commit is contained in:
siikamiika 2020-04-11 20:58:50 +03:00
parent ba97e72c8b
commit e6078ce8f6

View File

@ -36,14 +36,7 @@ function injectPopupNested() {
} }
} }
let popupNestedInitialized = false;
async function popupNestedInitialize(id, depth, parentFrameId, url) { async function popupNestedInitialize(id, depth, parentFrameId, url) {
if (popupNestedInitialized) {
return;
}
popupNestedInitialized = true;
let optionsApplied = false; let optionsApplied = false;
const applyOptions = async () => { const applyOptions = async () => {