From 7fac1ddc6b64e448f21d0d84bad25816181608a7 Mon Sep 17 00:00:00 2001 From: thek4n Date: Fri, 5 Jun 2026 17:00:57 +0300 Subject: [PATCH] fix set thresholds timeout --- assets/index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/index.html b/assets/index.html index 3c832ce..585fd67 100644 --- a/assets/index.html +++ b/assets/index.html @@ -554,7 +554,6 @@ clearTimeout(saveTimeout); } - // Устанавливаем новый таймаут на 300 мс saveTimeout = setTimeout(async () => { try { const response = await fetch('/thresholds', { @@ -584,7 +583,7 @@ toast.classList.add('show'); setTimeout(() => toast.classList.remove('show'), 1600); } - }, 300); + }, 700); } async function saveThresholds() {