Skip to content

Commit 3e868c0

Browse files
1 parent 0dd5482 commit 3e868c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/kernel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ styleTag.textContent=e.data.css;
271271

272272
return `<script>${baseScript}${myWindowHandler}</script>`;
273273
}
274-
async function prepareIframeContentUnified(cont, appid, winuid, mode = "normal") {
274+
async function prepareIframeContent(cont, appid, winuid, mode = "normal") {
275275
let contentString = isBase64(cont) ? decodeBase64Content(cont) : (cont || "<center><h1>Unavailable</h1>App Data cannot be read.</center>");
276276
let styleBlock = '';
277277
if (mode === "normal") {
@@ -309,7 +309,7 @@ async function loadIframe(windowContent, windowLoader, loaderSpinner, cont, appi
309309
loaderSpinner.insertAdjacentHTML('beforebegin', iconHtml);
310310
const registry = await getSetting(appid, "AppRegistry.json") || { perms: [] };
311311
const mode = title === "headless_373452343985$#%" ? "headless" : "normal";
312-
const blob = await prepareIframeContentUnified(cont, appid, winuid, mode);
312+
const blob = await prepareIframeContent(cont, appid, winuid, mode);
313313
const blobURL = URL.createObjectURL(blob);
314314
const iframe = document.createElement("iframe");
315315
if (!registry.perms?.includes("unsandboxed"))

0 commit comments

Comments
 (0)