mirror of
https://github.com/QwIT-Development/firka-extension.git
synced 2026-06-12 03:41:39 +02:00
Fixed user dropdown
This commit is contained in:
@@ -140,17 +140,6 @@ async function transformAbsencesPage() {
|
||||
}
|
||||
|
||||
function setupEventListeners() {
|
||||
const userBtn = document.querySelector('.user-dropdown-btn');
|
||||
const userDropdown = document.querySelector('.user-dropdown');
|
||||
|
||||
userBtn?.addEventListener('click', (e) => {
|
||||
e.stopPropagation();
|
||||
userDropdown.classList.toggle('show');
|
||||
});
|
||||
|
||||
document.addEventListener('click', () => {
|
||||
userDropdown?.classList.remove('show');
|
||||
});
|
||||
}
|
||||
|
||||
function setupFilters() {
|
||||
|
||||
Reference in New Issue
Block a user