diff --git a/static/js/managers/FilterManager.js b/static/js/managers/FilterManager.js index 5f5ef8ef..36239927 100644 --- a/static/js/managers/FilterManager.js +++ b/static/js/managers/FilterManager.js @@ -21,6 +21,13 @@ export class FilterManager { initialize() { // Create base model filter tags this.createBaseModelTags(); + + // Add click handler for filter button + if (this.filterButton) { + this.filterButton.addEventListener('click', () => { + this.toggleFilterPanel(); + }); + } // Close filter panel when clicking outside document.addEventListener('click', (e) => { diff --git a/templates/components/header.html b/templates/components/header.html index 833d6656..7a07dd49 100644 --- a/templates/components/header.html +++ b/templates/components/header.html @@ -26,7 +26,7 @@ - diff --git a/templates/recipes.html b/templates/recipes.html index 181740e1..60b10b5f 100644 --- a/templates/recipes.html +++ b/templates/recipes.html @@ -132,17 +132,6 @@ checkInitStatus(); {% endif %} - - -