Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a03612dc9c |
@@ -97,6 +97,8 @@
|
||||
const tagButtons = Array.from(filters.querySelectorAll('button[data-filter-tag]'));
|
||||
const locationSelect = filters.querySelector('#location-filter');
|
||||
const orgSelect = filters.querySelector('#org-filter');
|
||||
const locationWidget = locationSelect?.closest('.widget-select');
|
||||
const orgWidget = orgSelect?.closest('.widget-select');
|
||||
const status = filters.querySelector('#eventfilter-status');
|
||||
|
||||
const animationMs = 220;
|
||||
@@ -142,10 +144,12 @@
|
||||
|
||||
if (locationSelect) {
|
||||
locationSelect.classList.toggle('active', type === 'location');
|
||||
locationWidget?.classList.toggle('active', type === 'location');
|
||||
}
|
||||
|
||||
if (orgSelect) {
|
||||
orgSelect.classList.toggle('active', type === 'org');
|
||||
orgWidget?.classList.toggle('active', type === 'org');
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user