From b5531b7231aa7d32a1a972fbcce392708cd54713 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Sat, 4 Jan 2025 14:48:53 -0600 Subject: [PATCH] change .onresize to .addEventListener('resize') This appears to fix an issue (presumably where .onresize was being overwritten?) where the width of the document wouldn't update correctly. This doesn't solve that whole class of issues -- there are many assumptions made, including that the orientation or device type of the page won't change after load (so e.g. rotating a device can cause issues), but those are systemic enough that I'm not going to dare to fix them this time! --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 5f3b59d..98b1d8b 100644 --- a/index.html +++ b/index.html @@ -33,9 +33,9 @@