fix: add overlay

fix/facets
apurvab 2024-11-15 11:57:36 +05:30
parent 6eee663002
commit 480d5fc167
3 changed files with 18 additions and 6 deletions

View File

@ -221,7 +221,7 @@ $(document).ready(() => {
data.rendered_products_header,
);
}
$('#show-filters').on('click.offcanvas', () => {
$('#product-list-top-filters').show();
});

View File

@ -105,12 +105,18 @@ $(() => {
});
$('#show-filters').on('click.offcanvas', () => {
$('#product-list-top-filters').show();
$('#overlay').show();
$('#product-list-top-filters').show();
});
$('#hide-filters').on('click.offcanvas', () => {
$('#product-list-top-filters').hide();
$('#product-list-top-filters').hide();
$('#overlay').hide();
});
$('#overlay').on('click', function() {
$('#product-list-top-filters').hide();
$('#overlay').hide();
});
function ThAccordion() {}

File diff suppressed because one or more lines are too long