fix nav buttons

nav buttons go from working 15% of the time to 95%!!!!!!!!!!!!!!!!!!!!!!!
This commit is contained in:
RegalAether 2025-06-30 07:15:33 -07:00 committed by GitHub
parent f9730ee842
commit 6664544cab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,6 +64,7 @@ const link = Astro.url.searchParams.get("redir");
const settings = await Settings.getInstance(); const settings = await Settings.getInstance();
iframe.classList.remove("hidden"); iframe.classList.remove("hidden");
iframe.src = sw.encodeURL(input.value); iframe.src = sw.encodeURL(input.value);
buttons();
} }
}); });
@ -102,7 +103,6 @@ const link = Astro.url.searchParams.get("redir");
phlImage.src = object; phlImage.src = object;
bhl.classList.add("hidden"); bhl.classList.add("hidden");
phl.classList.remove("hidden"); phl.classList.remove("hidden");
buttons();
}); });
} }