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);