(btn)
| 188 | } |
| 189 | |
| 190 | function toggleEmailMoreMenu(btn) { |
| 191 | const menu = btn.nextElementSibling; |
| 192 | const isActive = menu.classList.contains('active'); |
| 193 | document.querySelectorAll('.dropdown-menu.active').forEach(m => m.classList.remove('active')); |
| 194 | if (!isActive) menu.classList.add('active'); |
| 195 | } |
| 196 | |
| 197 | function closeEmailMoreMenu(el) { |
| 198 | const menu = el.closest('.dropdown-menu'); |
nothing calls this directly
no outgoing calls
no test coverage detected