From 767730831e588199fba8f6621568caa3bcf85420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Thu, 18 Sep 2025 21:41:17 +0200 Subject: [PATCH] fix1 --- static/js/chart_controls.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/static/js/chart_controls.js b/static/js/chart_controls.js index 25f3416..8a015a2 100644 --- a/static/js/chart_controls.js +++ b/static/js/chart_controls.js @@ -74,8 +74,10 @@ document.addEventListener("DOMContentLoaded", function () { this.textContent = "Pokaż całościowo"; window.setCategorySplit(true); } - // odznaczenie wizualne zakresu - document.querySelectorAll("#chartTab .range-btn").forEach(b => b.classList.remove("active")); + + // porzucenie zakresu + //document.querySelectorAll("#chartTab .range-btn").forEach(b => b.classList.remove("active")); + reloadRespectingSplit(); });