Skip to content

Commit

Permalink
Fix gimloader not being detected as missing
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLazySquid committed Jan 21, 2025
1 parent ada7a0a commit 9e7cd62
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions site/src/components/Install.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@
let diffedScript = $state('');
onMount(() => {
window.addEventListener("load", () => {
if(document.readyState === "complete") {
GLInstallMissing = (window as any).GLInstall === undefined;
});
} else {
window.addEventListener("load", () => {
GLInstallMissing = (window as any).GLInstall === undefined;
});
}
});
async function fetchScript() {
Expand Down

0 comments on commit 9e7cd62

Please sign in to comment.