()
| 277 | |
| 278 | // Show new note modal |
| 279 | function showNewNoteModal() { |
| 280 | // Load categories first to ensure dropdown is populated |
| 281 | loadCategories(); |
| 282 | |
| 283 | newNoteModal.classList.remove('hidden'); |
| 284 | newNoteName.focus(); |
| 285 | } |
| 286 | |
| 287 | // Hide new note modal |
| 288 | function hideNewNoteModal() { |
nothing calls this directly
no test coverage detected