zmiana month na m
This commit is contained in:
@@ -5,9 +5,9 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
const month = select.value;
|
||||
const url = new URL(window.location.href);
|
||||
if (month) {
|
||||
url.searchParams.set("month", month);
|
||||
url.searchParams.set("m", month);
|
||||
} else {
|
||||
url.searchParams.delete("month");
|
||||
url.searchParams.delete("m");
|
||||
}
|
||||
window.location.href = url.toString();
|
||||
});
|
||||
|
Reference in New Issue
Block a user