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() {
|
||||
updateVisibility();
|
||||
updateLinks();
|
||||
});
|
||||
|
||||
// Initialize visibility and links based on the checkbox state
|
||||
updateVisibility();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user