Merge branch 'dev' into aboutBlank
This commit is contained in:
commit
d3f6c0ab06
1 changed files with 4 additions and 3 deletions
|
|
@ -62,7 +62,6 @@ const link = Astro.url.searchParams.get("redir");
|
|||
if (event.key === "Enter") {
|
||||
const sw = SW.getInstance().next().value!;
|
||||
const settings = await Settings.getInstance();
|
||||
await sw.setTransport();
|
||||
iframe.classList.remove("hidden");
|
||||
iframe.src = sw.encodeURL(input.value);
|
||||
}
|
||||
|
|
@ -123,9 +122,11 @@ const link = Astro.url.searchParams.get("redir");
|
|||
history.pushState({}, "", "/");
|
||||
})();
|
||||
}
|
||||
(async () => { await init(); })();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
customElements.define('link-element', CustomComponent);
|
||||
document.addEventListener("astro:page-load", async () => {
|
||||
await init();
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue