zmiany wizualne

This commit is contained in:
Mateusz Gruszczyński
2025-09-18 22:10:34 +02:00
parent 2015065af4
commit 7eb29b271a
2 changed files with 7 additions and 11 deletions

View File

@@ -65,13 +65,13 @@ document.addEventListener("DOMContentLoaded", function () {
this.classList.remove("btn-primary");
this.classList.add("btn-outline-light");
this.setAttribute("aria-pressed", "false");
this.textContent = "Pokaż podział na kategorie";
this.textContent = "Kategorie";
window.setCategorySplit(false);
} else {
this.classList.add("btn-primary");
this.classList.remove("btn-outline-light");
this.setAttribute("aria-pressed", "true");
this.textContent = "Pokaż całościowo";
this.textContent = "Sumy";
window.setCategorySplit(true);
}