From e513bf3c9e655e96936248e7100f41d34b4e84a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Tue, 14 Jul 2026 19:29:29 +0400 Subject: [PATCH] =?UTF-8?q?fix:=20es=20=E2=86=92=20activeES=20=D0=B2=D0=BE?= =?UTF-8?q?=20=D0=B2=D1=81=D0=B5=D1=85=20=D0=BC=D0=B5=D1=81=D1=82=D0=B0?= =?UTF-8?q?=D1=85=20(=D0=B1=D1=8B=D0=BB=20=D0=BD=D0=B5=20=D0=B7=D0=B0?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D1=91=D0=BD=20=D0=BD=D0=B0=20=D1=81=D1=82?= =?UTF-8?q?=D1=80=D0=BE=D0=BA=D0=B5=20262)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/app.py | 2 +- site/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/site/app.py b/site/app.py index 5481cd9..4abc8a8 100644 --- a/site/app.py +++ b/site/app.py @@ -20,7 +20,7 @@ if _sys_path_root not in sys.path: sys.path.insert(0, _sys_path_root) # Версия приложения (меняется при изменениях) -VERSION = "0.0.23" +VERSION = "0.0.24" def create_app(): diff --git a/site/templates/index.html b/site/templates/index.html index 9ecbd98..f73f95e 100644 --- a/site/templates/index.html +++ b/site/templates/index.html @@ -259,7 +259,7 @@ async function uploadFiles() { ss(d.idx, '⏳ ' + elapsed + 'с'); }, 200); }); - es.addEventListener('done', function(e) { + activeES.addEventListener('done', function(e) { const d = JSON.parse(e.data); clearInterval(fileIntervals[d.idx]); const elapsed = ((performance.now() - (fileTimers[d.idx] || performance.now())) / 1000).toFixed(1);