From 46d758c191eb3f6f0c28a277a51a193c16ad2aaf Mon Sep 17 00:00:00 2001 From: KK Date: Fri, 3 Jul 2026 22:10:53 +0200 Subject: [PATCH] Make shell nicer --- data/shell.html | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/data/shell.html b/data/shell.html index 8847965..788f9be 100644 --- a/data/shell.html +++ b/data/shell.html @@ -33,15 +33,9 @@ const text = String(message || 'Unknown error'); console.error(text); errorBox.style.display = 'block'; - errorBox.textContent = text + '\n\n(click to dismiss)'; + errorBox.textContent = text; } - errorBox.addEventListener('click', () => { - errorBox.style.display = 'none'; - errorBox.textContent = ''; - Module.canvas.focus(); - }); - window.addEventListener('error', (event) => { showError(event.error && event.error.stack ? event.error.stack : event.message); });