From e6c1e44db08b438c40d1a14c8c98e1cc2f073583 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 4 Oct 2025 22:13:04 +0100 Subject: [PATCH] webstead: mark script as async Apparently Chromium can't cope with "defer" scripts (which modules are by default) in XHTML documents. But "async" scripts work properly, so now we use one of those and then wait for DOMContentLoaded as necessary. --- webstead.xhtml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/webstead.xhtml b/webstead.xhtml index 61a261e..c3bb0c1 100644 --- a/webstead.xhtml +++ b/webstead.xhtml @@ -38,7 +38,10 @@ background: currentColor; } - -- 2.30.2