Fix buttons 1

This commit is contained in:
PrestonT500 2024-09-19 09:55:53 -07:00
parent 8498c34e29
commit 53405d0fb2

View File

@ -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() {
updateVisibility();
updateLinks();
});
// Initialize visibility and links based on the checkbox state
updateVisibility();
});