Fix buttons 1
This commit is contained in:
parent
8498c34e29
commit
53405d0fb2
@ -21,11 +21,16 @@ $(document).ready(function() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(".filter-button").on("click", function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
var url = $(this).data("url");
|
||||||
|
window.location.href = url;
|
||||||
|
});
|
||||||
|
|
||||||
$("#mobileCheckbox").on("change", function() {
|
$("#mobileCheckbox").on("change", function() {
|
||||||
updateVisibility();
|
updateVisibility();
|
||||||
updateLinks();
|
updateLinks();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Initialize visibility and links based on the checkbox state
|
|
||||||
updateVisibility();
|
updateVisibility();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user