From 25253c56fc9a3bc10978bcd6a5b6ca83a3472131 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sat, 24 Feb 2024 20:54:01 -0800 Subject: [PATCH] fix: correctly detect failed iframe loads --- .../lib/Apps/GBAEmulator/GBAEmulator.svelte | 32 +++++++++++-------- client/src/lib/Apps/JSDoom/JSDoom.svelte | 32 +++++++++++-------- 2 files changed, 38 insertions(+), 26 deletions(-) diff --git a/client/src/lib/Apps/GBAEmulator/GBAEmulator.svelte b/client/src/lib/Apps/GBAEmulator/GBAEmulator.svelte index c6362de..3d3ee32 100644 --- a/client/src/lib/Apps/GBAEmulator/GBAEmulator.svelte +++ b/client/src/lib/Apps/GBAEmulator/GBAEmulator.svelte @@ -1,18 +1,25 @@ @@ -21,6 +28,5 @@ src="/static/external-apps/gba-emulator/index.html" class="w-full h-screen rounded-xl" frameborder="0" - on:error={handleError} /> diff --git a/client/src/lib/Apps/JSDoom/JSDoom.svelte b/client/src/lib/Apps/JSDoom/JSDoom.svelte index 05a53f6..49622c0 100644 --- a/client/src/lib/Apps/JSDoom/JSDoom.svelte +++ b/client/src/lib/Apps/JSDoom/JSDoom.svelte @@ -1,18 +1,25 @@ @@ -21,6 +28,5 @@ src="/static/external-apps/jsdoom/index.html" class="w-full h-screen rounded-xl" frameborder="0" - on:error={handleError} />