Skip to content

Commit

Permalink
More direct testing
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoch committed Dec 5, 2024
1 parent d7a63f9 commit d92436a
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,7 @@ export class IframeEnclave implements EnclaveProvider {
}

async #loadEnclave(): Promise<void> {
const iframeElem = document.getElementById(this.iframe.id);
if (iframeElem) {
console.warn("An Iframe already exists. Re-using it.");
return;
}
if (this.iframe.contentWindow) return;

const container =
document.querySelector(this.container) ||
Expand Down

0 comments on commit d92436a

Please sign in to comment.