Skip to content

Commit

Permalink
Fix filters initialization with DNA 3
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardocavazza authored Jul 11, 2024
1 parent 5ebd475 commit 13d295f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webroot/js/CalendarFilters.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export function defineCalendarFilters(DNA) {
DNA.define('calendar-filters', CalendarFilters, {
extends: 'form',
});
} else {
} else if (DNA.customElements) {
// DNA 3
customElements.define('calendar-filters', CalendarFilters, {
extends: 'form',
Expand Down

0 comments on commit 13d295f

Please sign in to comment.