lepszy ux przyciskow
This commit is contained in:
1 parent
3a99d1a936
commit
fe213d4acd
1 file changed
+1
-1
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user