(btn)
| 1006 | } |
| 1007 | |
| 1008 | function toggleSettingsMoreMenu(btn) { |
| 1009 | const menu = btn.nextElementSibling; |
| 1010 | const isActive = menu.classList.contains('active'); |
| 1011 | document.querySelectorAll('.dropdown-menu.active').forEach(m => m.classList.remove('active')); |
| 1012 | if (!isActive) menu.classList.add('active'); |
| 1013 | } |
| 1014 | |
| 1015 | function closeSettingsMoreMenu(el) { |
| 1016 | const menu = el.closest('.dropdown-menu'); |
nothing calls this directly
no outgoing calls
no test coverage detected