Skip to content

Commit

Permalink
chore: bump ci
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Mar 3, 2024
1 parent 49428a4 commit 015ae85
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ export function devPoolSpread() {
document.addEventListener("DOMContentLoaded", () => {
const iframe = document.querySelector("#DevPool iframe") as HTMLIFrameElement;
if (!iframe) throw new Error("No iframe element");
const observer = new IntersectionObserver(((entries) => {
const observer = new IntersectionObserver((entries) => {
if (entries[0].isIntersecting) {
if (!iframe) throw new Error("No iframe element");
iframe.src = "https://work.ubq.fi/";
observer.disconnect();
}
}), {});
}, {});
observer.observe(iframe);
});

Expand Down

0 comments on commit 015ae85

Please sign in to comment.