From fe213d4acdfec66b7adafc8e033b5b207d40a348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Thu, 18 Sep 2025 22:29:02 +0200 Subject: [PATCH] lepszy ux przyciskow --- static/js/chart_controls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/chart_controls.js b/static/js/chart_controls.js index 1415315..c27b2db 100644 --- a/static/js/chart_controls.js +++ b/static/js/chart_controls.js @@ -60,7 +60,7 @@ document.addEventListener("DOMContentLoaded", function () { // ——— Podział na kategorie ——— toggleCategory?.addEventListener("click", function () { - const active = this.classList.contains("btn-outline-success"); + const active = this.classList.contains("btn-outline-light"); if (active) { this.classList.remove("btn-outline-success"); this.classList.add("btn-outline-light");