From be5e06fab13eeadd0517d1192d65a3987670a542 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 20 Apr 2025 17:21:55 -0400 Subject: Don't do it the stupid way. --- index.shtml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/index.shtml b/index.shtml index dafc5db..25550a0 100644 --- a/index.shtml +++ b/index.shtml @@ -116,16 +116,17 @@ function swonload(){ document.getElementById('appleouter').style.display='block';*/ } document.addEventListener("DOMContentLoaded", swonload); +window.onhashchange = () => { contsw(location.hash.substr(1)) };
-- cgit v1.2.3