From 0716ea760c3e0877c0e6fdf3dff30cf84dff5249 Mon Sep 17 00:00:00 2001 From: nercone-dev Date: Wed, 15 Apr 2026 03:21:53 +0900 Subject: [PATCH] -- --- public/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/index.html b/public/index.html index 285ba13..c9c4f8b 100644 --- a/public/index.html +++ b/public/index.html @@ -43,14 +43,14 @@ function onTap() { tapCount++; - if (tapCount >= 3) { + if (tapCount >= 10) { clearTimeout(tapTimer); tapCount = 0; location.href = '/qr-code/'; return; } clearTimeout(tapTimer); - tapTimer = setTimeout(() => { tapCount = 0; }, 600); + tapTimer = setTimeout(() => { tapCount = 0; }, 1500); } el.addEventListener('touchend', (e) => { @@ -60,7 +60,7 @@ }, { passive: false }); el.addEventListener('click', () => { - if (Date.now() - lastTouch < 500) return; + if (Date.now() - lastTouch < 1400) return; onTap(); }); })();